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,308 of 183,107
Downloads: 69,111

Daily

Ranking: 13,399 of 183,092
Downloads: 35

Depended by

RankDownloadsName
30,51838,649resque-unique_by_arity

Depends on

RankDownloadsName
10953,844,246rake
25817,849,894rspec
63475,587,280rubocop
68466,913,746pry
94357,037,489byebug
168214,812,247pry-byebug
173209,685,730timecop
197183,546,275rubocop-rspec
271135,014,968colorize
87444,213,537resque
1,45819,857,419fakeredis
12,878148,810rspec-stubbed_env
25,52749,552rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling