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,154 of 188,635
Downloads: 86,165

Daily

Ranking: 13,069 of 188,368
Downloads: 54

Depended by

RankDownloadsName
30,80842,776resque-unique_by_arity

Depends on

RankDownloadsName
101,193,676,273rake
29937,507,240rspec
57631,276,572rubocop
74566,410,962pry
100432,553,432byebug
176260,996,083pry-byebug
188249,347,337rubocop-rspec
192243,762,292timecop
300153,966,499colorize
93649,753,237resque
1,55323,160,278fakeredis
9,189352,230rspec-stubbed_env
9,665318,385rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling