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:
=

instalar:
=

Versiones:

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

Propietarios:

Autores:

  • Grant Chen

SHA 256 checksum:

=

Total de descargas 13.549

Para esta versión 11.406

Versión publicada:

Licencias:

N/A

Versión de Ruby requerida: >= 0

Enlace: