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,907 of 188,757
Downloads: 303,737

Daily

Ranking: 11,355 of 188,742
Downloads: 61

Depended by

RankDownloadsName
49,34722,881serially

Depends on

RankDownloadsName
101,202,260,445rake
29941,173,382rspec
194244,964,985timecop
93650,061,479resque
99646,842,522mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling