Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v1.0.0
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (9 sloc) 0.322 kB

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
Jump to Line
Something went wrong with that request. Please try again.