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,723 of 186,974
Downloads: 79,308

Daily

Ranking: 17,238 of 186,960
Downloads: 36

Depended by

RankDownloadsName
30,98641,054resque-unique_by_arity

Depends on

RankDownloadsName
101,140,919,622rake
27914,604,077rspec
57597,190,900rubocop
72547,361,915pry
98418,120,279byebug
173253,456,252pry-byebug
186237,284,100rubocop-rspec
189236,092,114timecop
292149,769,008colorize
93448,340,416resque
1,54722,386,296fakeredis
9,525314,372rspec-stubbed_env
10,478255,294rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling