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,885 of 188,635
Downloads: 303,066

Daily

Ranking: 14,910 of 188,368
Downloads: 40

Depended by

RankDownloadsName
49,37922,747serially

Depends on

RankDownloadsName
101,193,676,273rake
29937,507,240rspec
192243,762,292timecop
93649,753,237resque
99446,545,869mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling