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: 141,904 of 196,125
Downloads: 4,483
Daily
Ranking: 49,580 of 196,106
Downloads: 0
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 |
|---|---|---|
| 8 | 1,394,381,169 | rake |
| 29 | 1,010,713,264 | rspec |
| 953 | 54,211,623 | resque |
| 954 | 54,191,271 | mock_redis |
| 3,071 | 5,633,489 | debugger |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | nogara |