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: 139,018 of 189,199
Downloads: 4,352

Daily

Ranking: 114,730 of 189,169
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
91,225,825,609rake
29946,846,304rspec
94150,405,337resque
99547,341,050mock_redis
2,9305,585,795debugger

Owners

#GravatarHandle
1iconnogara