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: 143,830 of 199,406
Downloads: 4,555

Daily

Ranking: 166,138 of 199,354
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,484,676,672rake
291,050,507,074rspec
93758,241,475mock_redis
95956,352,943resque
3,1455,656,010debugger

Owners

#GravatarHandle
1iconnogara