collectiveidea/delayed_job — pull request #408 by christophermanning (2012-06-30 06:56:53+00:00)
Title: Add max_run_time info to Timeout::Error exception

Currently, when a job times out, the error that results is only "execution expired" (this is from [Timeout::Error](http://ruby-doc.org/stdlib-1.9.2/libdoc/timeout/rdoc/Timeout.html)). This is vague and doesn't make it clear that DJ killed the job because of the `max_run_time` limit.

This pull request adds information about the `max_run_time` setting to the original exception message.

#### New Message
`execution expired (Delayed::Worker.max_run_time is only #{seconds} seconds)`