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: 8,103 of 175,816
Downloads: 260,072

Daily

Ranking: 10,995 of 175,801
Downloads: 81

Depended by

RankDownloadsName
48,06118,101serially

Depends on

RankDownloadsName
14700,260,899rake
17678,006,967rspec
157158,031,704timecop
76537,142,391resque
97525,698,924mock_redis

Owners

#GravatarHandle
1iconpboling
2iconwallace