Categories: None [Edit]

nogara-resque-lonely_job

https://rubygems.org/gems/nogara-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: 133,802 of 180,709
Downloads: 3,970

Daily

Ranking: 94,831 of 180,702
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
16863,446,914rake
24772,799,168rspec
83841,989,867resque
96234,532,761mock_redis
2,4515,535,439debugger

Owners

#GravatarHandle
1iconnogara