Resque plugin for allowing long-running jobs to fail automatically.
Pull request Compare This branch is 3 commits behind openlogic:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
README.md
Rakefile
VERSION
resque-timeout.gemspec

README.md

resque-timeout

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

To install:

$ gem install 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