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,691 of 190,317
Downloads: 91,853

Daily

Ranking: 10,761 of 190,280
Downloads: 108

Depended by

RankDownloadsName
30,67243,885resque-unique_by_arity

Depends on

RankDownloadsName
81,255,248,311rake
29957,358,331rspec
56659,701,421rubocop
72583,359,451pry
102444,403,952byebug
181267,624,757pry-byebug
188259,952,754rubocop-rspec
194250,490,367timecop
305157,347,660colorize
94351,059,878resque
1,56423,710,395fakeredis
9,111375,346rspec-stubbed_env
9,130372,702rspec-block_is_expected

Owners

#GravatarHandle
1iconpboling