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,243 of 183,501
Downloads: 70,010

Daily

Ranking: 27,573 of 183,494
Downloads: 6

Depended by

RankDownloadsName
30,53838,910resque-unique_by_arity

Depends on

RankDownloadsName
10970,092,883rake
25825,534,096rspec
62485,460,157rubocop
69473,824,100pry
94362,320,269byebug
168218,232,346pry-byebug
174212,193,654timecop
196188,029,469rubocop-rspec
272136,351,101colorize
88144,634,108resque
1,47220,165,560fakeredis
12,594157,050rspec-stubbed_env
24,75852,173rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling