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: 69,255 of 189,432
Downloads: 14,409
Daily
Ranking: 44,491 of 189,408
Downloads: 2
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 |