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: 140,541 of 193,756
Downloads: 4,443

Daily

Ranking: 71,816 of 193,649
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,345,947,699rake
29989,540,006rspec
94753,045,019resque
97351,829,134mock_redis
3,0305,615,428debugger

Owners

#GravatarHandle
1iconnogara