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: 10,291 of 193,030
Downloads: 311,027

Daily

Ranking: 14,766 of 193,008
Downloads: 33

Depended by

RankDownloadsName
49,72723,582serially

Depends on

RankDownloadsName
81,323,704,807rake
29980,978,640rspec
195259,511,797timecop
94452,568,799resque
97750,891,765mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling