diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2016-07-29 14:21:02 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2016-07-29 14:21:02 -0700 |
commit | b00214d214c6b0a2208d5861de1a7b158accddf0 (patch) | |
tree | 912fd9049d005096b201e0b33fe20eb3f4f8a14a /activejob/lib/active_job | |
parent | 504a7d0530ee3ba7771a5e51c70d51d2334f0292 (diff) | |
download | rails-b00214d214c6b0a2208d5861de1a7b158accddf0.tar.gz rails-b00214d214c6b0a2208d5861de1a7b158accddf0.tar.bz2 rails-b00214d214c6b0a2208d5861de1a7b158accddf0.zip |
Require time extension for 3.seconds default
Diffstat (limited to 'activejob/lib/active_job')
-rw-r--r-- | activejob/lib/active_job/exceptions.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activejob/lib/active_job/exceptions.rb b/activejob/lib/active_job/exceptions.rb index a389715835..7d8bca4561 100644 --- a/activejob/lib/active_job/exceptions.rb +++ b/activejob/lib/active_job/exceptions.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/numeric/time' + module ActiveJob # Provides behavior for retrying and discarding jobs on exceptions. module Exceptions |