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,353 of 183,139
Downloads: 278,902

Daily

Ranking: 8,870 of 183,127
Downloads: 58

Depended by

RankDownloadsName
48,78820,817serially

Depends on

RankDownloadsName
10954,857,689rake
25818,346,165rspec
173209,837,962timecop
87544,241,593resque
97938,321,025mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling