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: 19,859 of 186,959
Downloads: 77,729

Daily

Ranking: 11,218 of 186,713
Downloads: 114

Depended by

RankDownloadsName
31,02640,532resque-unique_by_arity

Depends on

RankDownloadsName
101,128,098,871rake
27909,387,510rspec
57589,619,268rubocop
71542,757,863pry
98414,508,575byebug
171251,488,314pry-byebug
187234,324,293rubocop-rspec
188234,305,318timecop
292148,814,455colorize
93448,016,426resque
1,54622,231,371fakeredis
9,679300,375rspec-stubbed_env
10,870234,102rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling