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,396 of 183,501
Downloads: 280,295

Daily

Ranking: 20,644 of 183,494
Downloads: 10

Depended by

RankDownloadsName
48,88720,907serially

Depends on

RankDownloadsName
10970,092,883rake
25825,534,096rspec
174212,193,654timecop
88144,634,108resque
98538,930,172mock_redis

Owners

#GravatarHandle
1iconwallace
2iconpboling