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,294 of 187,765
Downloads: 83,786

Daily

Ranking: 8,528 of 187,751
Downloads: 142

Depended by

RankDownloadsName
30,84842,133resque-unique_by_arity

Depends on

RankDownloadsName
101,171,383,006rake
28927,461,508rspec
57616,928,508rubocop
73558,227,418pry
100426,251,370byebug
175257,808,896pry-byebug
188244,118,555rubocop-rspec
193240,423,981timecop
298152,091,109colorize
93549,110,581resque
1,55022,767,894fakeredis
9,350334,540rspec-stubbed_env
10,026288,362rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling