resque-worker-timeout 0.0.2
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