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

installation:
=

Versions:

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

Propriétaires:

Auteurs:

  • Grant Chen

Total de contrôle SHA 256:

=

Total de téléchargements 13 549

Pour cette version 11 406

Version publiée:

License:

aucune

Version de Ruby requise: >= 0

Liens: