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: 139,413 of 191,254
Downloads: 4,375
Daily
Ranking: 85,135 of 191,174
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,267,702,122 | rake |
| 29 | 962,362,170 | rspec |
| 943 | 51,364,948 | resque |
| 992 | 48,893,905 | mock_redis |
| 2,966 | 5,591,784 | debugger |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | nogara |