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: 21,626 of 180,392
Downloads: 58,928

Daily

Ranking: 10,991 of 180,379
Downloads: 62

Depended by

RankDownloadsName
30,67536,212resque-unique_by_arity

Depends on

RankDownloadsName
16850,588,273rake
23766,393,908rspec
63421,245,138pry
68412,241,188rubocop
94320,565,788byebug
170191,766,780timecop
171191,300,814pry-byebug
202154,155,827rubocop-rspec
254123,952,402colorize
83241,705,876resque
1,41217,974,732fakeredis
13,250128,372rspec-stubbed_env
29,75237,669rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling