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,011 of 190,529
Downloads: 307,423

Daily

Ranking: 12,946 of 190,497
Downloads: 42

Depended by

RankDownloadsName
49,38723,207serially

Depends on

RankDownloadsName
81,260,447,422rake
29959,406,060rspec
194251,104,016timecop
94351,189,774resque
99448,618,807mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling