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,985 of 180,434
Downloads: 272,090

Daily

Ranking: 13,589 of 180,417
Downloads: 39

Depended by

RankDownloadsName
48,57719,864serially

Depends on

RankDownloadsName
16852,527,476rake
23767,349,058rspec
170192,103,230timecop
83441,752,491resque
95934,134,263mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling