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,443 of 191,455
Downloads: 94,515

Daily

Ranking: 7,030 of 191,429
Downloads: 280

Depended by

RankDownloadsName
30,72444,060resque-unique_by_arity

Depends on

RankDownloadsName
81,273,120,523rake
29964,231,479rspec
56668,980,859rubocop
72588,904,024pry
102448,225,803byebug
182269,702,593pry-byebug
188263,507,092rubocop-rspec
195252,649,438timecop
307158,360,852colorize
94351,488,470resque
1,56723,872,608fakeredis
9,008390,513rspec-block_is_expected
9,093380,702rspec-stubbed_env

Owners

#GravatarHandle
1iconpboling