diff options
Diffstat (limited to 'activejob/lib')
-rw-r--r-- | activejob/lib/active_job/core.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activejob/lib/active_job/core.rb b/activejob/lib/active_job/core.rb index 450c56bfdc..ddd7d1361c 100644 --- a/activejob/lib/active_job/core.rb +++ b/activejob/lib/active_job/core.rb @@ -78,12 +78,12 @@ module ActiveJob # end # # def deserialize(job_data) - # super(job_data) + # super # @attempt_number = job_data['attempt_number'] # end # - # rescue_from(TimeoutError) do |ex| - # raise ex if @attempt_number > 5 + # rescue_from(TimeoutError) do |exception| + # raise exception if @attempt_number > 5 # retry_job(wait: 10) # end # end |