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,428 of 187,988
Downloads: 4,309

Daily

Ranking: 114,981 of 187,967
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,178,455,784rake
29930,679,140rspec
93649,317,129resque
99745,955,501mock_redis
2,8835,578,457debugger

Owners

#GravatarHandle
1iconnogara