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,205 of 186,155
Downloads: 74,577

Daily

Ranking: 18,003 of 186,141
Downloads: 16

Depended by

RankDownloadsName
30,97840,142resque-unique_by_arity

Depends on

RankDownloadsName
101,099,169,755rake
26896,308,465rspec
59571,725,599rubocop
68531,835,206pry
95405,667,158byebug
171246,277,783pry-byebug
185230,322,416timecop
187226,947,543rubocop-rspec
290146,723,664colorize
92147,384,390resque
1,53421,862,084fakeredis
9,961274,753rspec-stubbed_env
12,084186,242rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling