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,074 of 197,861
Downloads: 4,503

Daily

Ranking: 73,908 of 197,834
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,447,561,113rake
291,033,456,311rspec
93956,615,803mock_redis
95455,435,142resque
3,1135,646,525debugger

Owners

#GravatarHandle
1iconnogara