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,209 of 193,214
Downloads: 100,644

Daily

Ranking: 9,258 of 193,188
Downloads: 91

Depended by

RankDownloadsName
30,86744,946resque-unique_by_arity

Depends on

RankDownloadsName
81,330,047,653rake
29983,045,376rspec
56695,992,094rubocop
72605,239,366pry
102459,859,491byebug
184275,908,198pry-byebug
186274,520,273rubocop-rspec
196260,249,605timecop
313161,588,338colorize
94452,688,167resque
1,57824,430,384fakeredis
8,589450,804rspec-block_is_expected
9,097404,748rspec-stubbed_env

Owners

#GravatarHandle
1iconpboling