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,379 of 192,104
Downloads: 96,986

Daily

Ranking: 14,312 of 192,085
Downloads: 24

Depended by

RankDownloadsName
30,90444,306resque-unique_by_arity

Depends on

RankDownloadsName
81,291,638,605rake
29970,683,748rspec
56678,325,313rubocop
73594,715,801pry
102452,364,881byebug
183271,785,240pry-byebug
187267,033,872rubocop-rspec
195254,835,182timecop
308159,398,795colorize
94251,915,221resque
1,57224,025,519fakeredis
8,880407,905rspec-block_is_expected
9,098386,332rspec-stubbed_env

Owners

#GravatarHandle
1iconpboling