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

Versões:

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

Donos:

Autores:

  • Grant Chen

SHA 256 checksum:

=

Total de downloads 13.536

Desta versão 11.396

Versão lançada:

Licenças:

N/A

Versão Requerida do Ruby: >= 0

Links: