Categories: None [Edit]

resque-lonely_job

https://rubygems.org/gems/resque-lonely_job
https://github.com/wallace/resque-lonely_job
Ensures that for a given queue, only one worker is working on a job at any given time. Example: require 'resque/plugins/lonely_job' class StrictlySerialJob extend Resque::Plugins::LonelyJob @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: 9,881 of 188,354
Downloads: 302,959

Daily

Ranking: 13,202 of 188,339
Downloads: 54

Depended by

RankDownloadsName
49,37022,736serially

Depends on

RankDownloadsName
101,192,295,793rake
29936,893,351rspec
192243,548,653timecop
93549,710,550resque
99546,490,911mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling