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,414 of 183,781
Downloads: 281,504

Daily

Ranking: 10,023 of 183,770
Downloads: 50

Depended by

RankDownloadsName
48,91221,002serially

Depends on

RankDownloadsName
10979,950,024rake
26830,303,403rspec
176213,755,821timecop
88844,851,048resque
98839,294,565mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling