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,401 of 198,575
Downloads: 4,519

Daily

Ranking: 83,483 of 198,547
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,465,647,176rake
291,041,667,060rspec
93957,439,432mock_redis
95755,869,890resque
3,1365,651,669debugger

Owners

#GravatarHandle
1iconnogara