RubyGems Navigation menu

resque-unique_at_runtime 2.0.4

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 extend 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

Versions:

  1. 2.0.4 - September 10, 2018 (13.5 KB)
  2. 2.0.3 - November 17, 2017 (10.5 KB)
  3. 2.0.2 - November 17, 2017 (10.5 KB)
  4. 2.0.1 - October 01, 2017 (10 KB)
  5. 2.0.0 - October 01, 2017 (10 KB)

Runtime Dependencies (1):

Authors:

  • Peter H. Boling, Jonathan R. Wallace

Owners:

B7ecb37878cb8bc1d330473023f1eeca

SHA 256 checksum:

670725322825d95fb34ccd5fe2935b2517928c18b014593c3d5df37e39e559ae

Total downloads 1,686

For this version 184

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 1.9.3

Links: