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,723 of 186,959
Downloads: 296,901

Daily

Ranking: 10,410 of 186,713
Downloads: 133

Depended by

RankDownloadsName
49,61621,627serially

Depends on

RankDownloadsName
101,128,098,871rake
27909,387,510rspec
188234,305,318timecop
93448,016,426resque
99544,233,260mock_redis

Owners

#GravatarHandle
1iconpboling
2iconwallace