Categories: None [Edit]
resque-worker-timeout
A Resque plugin. If you want set worker timeout, extend it with this module.
For example:
class TransferFileWorker
extend Resque::Plugins::WorkerTimeout
# 10 minutes (default 10 minutes)
@timeout = 600
# reenqueue worker if timeout happend (default false)
@reenqueue_worker = true
def self.perform(file_name)
# transfer file
end
end
Total
Ranking: 68,456 of 187,591
Downloads: 14,278
Daily
Ranking: 162,686 of 187,571
Downloads: 3
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 |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | Grant |