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,363 of 192,666
Downloads: 98,250

Daily

Ranking: 55,902 of 192,588
Downloads: 8

Depended by

RankDownloadsName
30,86544,646resque-unique_by_arity

Depends on

RankDownloadsName
81,310,508,356rake
29976,524,168rspec
56686,799,632rubocop
72599,796,970pry
102455,980,224byebug
184273,712,421pry-byebug
186270,718,732rubocop-rspec
195257,833,922timecop
311160,475,438colorize
94352,297,299resque
1,57524,180,120fakeredis
8,787423,166rspec-block_is_expected
9,121390,123rspec-stubbed_env

Owners

#GravatarHandle
1iconpboling