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,368 of 191,854
Downloads: 95,956

Daily

Ranking: 13,174 of 191,816
Downloads: 25

Depended by

RankDownloadsName
30,75844,211resque-unique_by_arity

Depends on

RankDownloadsName
81,285,080,020rake
29968,524,191rspec
56675,173,482rubocop
73592,850,910pry
102450,948,004byebug
182271,084,660pry-byebug
187265,834,478rubocop-rspec
195254,071,590timecop
308159,037,473colorize
94351,771,348resque
1,57123,972,887fakeredis
8,911402,753rspec-block_is_expected
9,089385,160rspec-stubbed_env

Owners

#GravatarHandle
1iconpboling