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,854 of 188,779
Downloads: 4,343

Daily

Ranking: 55,176 of 188,757
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,202,684,222rake
29941,363,553rspec
93650,071,527resque
99646,859,622mock_redis
2,9125,583,488debugger

Owners

#GravatarHandle
1iconnogara