Skip to content

openlogic/resque-timeout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resque-timeout

Resque plugin to allow long-running jobs to timeout (and fail) automatically.

To install:

$ gem install resque-timeout

Require the lib in your resque worker:

require 'resque-timeout'

To set the timeout (in seconds, default is 600):

Resque::Plugins::Timeout.timeout = 60

To turn it off (it is on by default):

Resque::Plugins::Timeout.switch = :off

Copyright

Copyright (c) 2011 OpenLogic, Inc. See LICENSE for details.

About

Resque plugin for allowing long-running jobs to fail automatically.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages