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: 66,848 of 183,477
Downloads: 13,599
Daily
Ranking: 30,305 of 183,470
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 |