Categories: None [Edit]

resque-unique_at_runtime

https://rubygems.org/gems/resque-unique_at_runtime
https://github.com/pboling/resque-unique_at_runtime
Ensures that for a given queue, only one worker is working on a job at any given time. Example: require 'resque/plugins/unique_at_runtime' class StrictlySerialJob include Resque::Plugins::UniqueAtRuntime @queue = :serial_work def self.perform # only one at a time in this block, no parallelism allowed for this # particular queue end end

Total

Ranking: 20,164 of 183,856
Downloads: 70,938

Daily

Ranking: 11,506 of 183,848
Downloads: 24

Depended by

RankDownloadsName
30,52339,225resque-unique_by_arity

Depends on

RankDownloadsName
10983,600,918rake
26832,135,962rspec
62493,754,578rubocop
68479,830,380pry
94366,793,280byebug
169221,211,059pry-byebug
177214,314,611timecop
195192,022,179rubocop-rspec
273137,612,076colorize
88944,927,477resque
1,48120,375,523fakeredis
12,356164,880rspec-stubbed_env
24,23954,136rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling