RubyGems Navigation menu

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

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.2 - May 16, 2015 (7 KB)
  2. 0.0.1 - May 16, 2015 (7 KB)

Owners:

Authors:

  • Grant Chen

SHA 256 checksum:

e9b11d146c59ee06839c15660a764ea8c541a0b06bf1fd8b91635d2362f254a6

Total downloads 12,487

For this version 10,420

Licenses:

N/A

Required Ruby Version: >= 0

Links: