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: 21,509 of 180,488
Downloads: 59,482

Daily

Ranking: 9,287 of 180,477
Downloads: 78

Depended by

RankDownloadsName
30,66836,326resque-unique_by_arity

Depends on

RankDownloadsName
16855,188,240rake
23768,688,728rspec
63423,237,327pry
68414,960,918rubocop
94322,136,912byebug
170192,548,203timecop
171192,295,083pry-byebug
201155,329,951rubocop-rspec
255124,538,529colorize
83441,807,242resque
1,41218,058,464fakeredis
13,259128,778rspec-stubbed_env
28,92539,255rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling