resque-unique_at_runtime 4.0.1
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
Gemfile:
=
installation:
=
Dépendances de Development (11):
byebug
~> 10.0
fakeredis
~> 0.7
pry
~> 0.11
pry-byebug
~> 3.6
rake
~> 12.3
rspec
>= 3.0
rspec-block_is_expected
~> 1.0
rspec-stubbed_env
~> 1.0
rubocop
~> 0.60
rubocop-rspec
~> 1.30
timecop
>= 0