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: 19,506 of 187,321
Downloads: 81,524

Daily

Ranking: 9,069 of 187,305
Downloads: 138

Depended by

RankDownloadsName
30,88541,712resque-unique_by_arity

Depends on

RankDownloadsName
101,154,737,843rake
27920,656,256rspec
57606,221,303rubocop
73552,597,015pry
99422,055,732byebug
174255,619,169pry-byebug
186240,638,254rubocop-rspec
193238,201,343timecop
294150,884,617colorize
93548,712,591resque
1,54822,566,092fakeredis
9,454323,014rspec-stubbed_env
10,234272,956rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling