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: 17,894 of 193,756
Downloads: 104,278

Daily

Ranking: 9,081 of 193,649
Downloads: 147

Depended by

RankDownloadsName
30,91245,122resque-unique_by_arity

Depends on

RankDownloadsName
81,345,947,699rake
29989,540,006rspec
56705,297,141rubocop
71610,500,117pry
104463,553,964byebug
185278,334,013rubocop-rspec
186277,976,930pry-byebug
197262,541,810timecop
318162,759,214colorize
94753,045,019resque
1,58324,576,577fakeredis
8,565473,111rspec-block_is_expected
8,974427,413rspec-stubbed_env

Owners

#GravatarHandle
1iconpboling