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,827 of 188,354
Downloads: 14,370
Daily
Ranking: 125,166 of 188,339
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 |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | Grant |