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: 138,112 of 187,591
Downloads: 4,293

Daily

Ranking: 111,315 of 187,571
Downloads: 6

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,165,649,814rake
28925,037,502rspec
93648,957,059resque
99845,498,661mock_redis
2,8675,575,618debugger

Owners

#GravatarHandle
1iconnogara