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: 141,904 of 196,125
Downloads: 4,483

Daily

Ranking: 49,580 of 196,106
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,394,381,169rake
291,010,713,264rspec
95354,211,623resque
95454,191,271mock_redis
3,0715,633,489debugger

Owners

#GravatarHandle
1iconnogara