mirror of https://github.com/rails/rails
Set default directly with default:
This commit is contained in:
parent
5ded839cfb
commit
ff299f1741
|
@ -8,8 +8,7 @@ module ActiveJob
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
included do
|
included do
|
||||||
class_attribute :retry_jitter, instance_accessor: false, instance_predicate: false
|
class_attribute :retry_jitter, instance_accessor: false, instance_predicate: false, default: 0.15
|
||||||
self.retry_jitter = 0.15
|
|
||||||
end
|
end
|
||||||
|
|
||||||
module ClassMethods
|
module ClassMethods
|
||||||
|
|
Loading…
Reference in New Issue