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,460 of 196,051
Downloads: 112,217

Daily

Ranking: 9,038 of 195,980
Downloads: 203

Depended by

RankDownloadsName
30,97846,011resque-unique_by_arity

Depends on

RankDownloadsName
81,392,453,331rake
291,009,870,499rspec
57733,052,249rubocop
72626,260,300pry
108474,581,617byebug
184289,924,483rubocop-rspec
190284,402,200pry-byebug
200269,486,089timecop
322166,288,554colorize
95254,172,435resque
1,59125,020,499fakeredis
8,403509,593rspec-block_is_expected
8,649479,263rspec-stubbed_env

Owners

#GravatarHandle
1iconpboling