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,211 of 188,166
Downloads: 85,312

Daily

Ranking: 16,596 of 188,156
Downloads: 50

Depended by

RankDownloadsName
30,82242,542resque-unique_by_arity

Depends on

RankDownloadsName
101,185,493,393rake
29933,893,121rspec
57625,997,038rubocop
74563,406,970pry
100430,268,164byebug
176259,809,426pry-byebug
189247,447,058rubocop-rspec
192242,553,429timecop
298153,304,603colorize
93549,514,612resque
1,55123,029,491fakeredis
9,233346,319rspec-stubbed_env
9,803307,198rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling