Categories: None [Edit]
nogara-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: 135,074 of 183,127
Downloads: 4,069
Daily
Ranking: 47,329 of 183,106
Downloads: 1
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
10 | 954,475,095 | rake |
25 | 818,160,872 | rspec |
875 | 44,233,393 | resque |
978 | 38,305,765 | mock_redis |
2,590 | 5,546,110 | debugger |
Owners
# | Gravatar | Handle |
---|---|---|
1 | nogara |