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: 18,992 of 189,083
Downloads: 88,454

Daily

Ranking: 10,494 of 189,069
Downloads: 93

Depended by

RankDownloadsName
30,67343,417resque-unique_by_arity

Depends on

RankDownloadsName
91,220,818,024rake
29945,702,266rspec
56643,260,417rubocop
74573,531,079pry
100437,460,297byebug
179263,813,130pry-byebug
188253,642,041rubocop-rspec
194246,578,897timecop
302155,432,131colorize
93850,337,613resque
1,56023,384,691fakeredis
9,148363,192rspec-stubbed_env
9,388344,175rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling