Categories: None [Edit]

resque-lonely_job

https://rubygems.org/gems/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: 9,944 of 189,149
Downloads: 304,779

Daily

Ranking: 10,614 of 189,128
Downloads: 40

Depended by

RankDownloadsName
49,35822,978serially

Depends on

RankDownloadsName
91,224,079,049rake
29946,507,506rspec
194246,857,541timecop
94150,386,753resque
99547,318,433mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling