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,868 of 188,189
Downloads: 302,463

Daily

Ranking: 18,101 of 188,174
Downloads: 24

Depended by

RankDownloadsName
49,37822,663serially

Depends on

RankDownloadsName
101,186,162,566rake
29934,188,853rspec
192242,632,768timecop
93549,527,236resque
99546,238,661mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling