Skip to content

Commit ff299f1

Browse files
committed
Set default directly with default:
1 parent 5ded839 commit ff299f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

activejob/lib/active_job/exceptions.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ module Exceptions
88
extend ActiveSupport::Concern
99

1010
included do
11-
class_attribute :retry_jitter, instance_accessor: false, instance_predicate: false
12-
self.retry_jitter = 0.15
11+
class_attribute :retry_jitter, instance_accessor: false, instance_predicate: false, default: 0.15
1312
end
1413

1514
module ClassMethods

0 commit comments

Comments
 (0)