]> git.openstreetmap.org Git - rails.git/commitdiff
Enable new Active Job defaults
authorTom Hughes <tom@compton.nu>
Thu, 13 May 2021 19:25:42 +0000 (20:25 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 13 May 2021 19:26:14 +0000 (20:26 +0100)
config/initializers/new_framework_defaults_6_1.rb

index 7deb71288319c72446644d268fe49c3d65150e96..c40b62cb82d2b38e41e5cd12af4e555f180308cf 100644 (file)
 # Rails.application.config.active_storage.track_variants = true
 
 # Apply random variation to the delay when retrying failed jobs.
-Rails.application.config.active_job.retry_jitter = 0.15
+Rails.application.config.active_job.retry_jitter = 0.15
 
 # Stop executing `after_enqueue`/`after_perform` callbacks if
 # `before_enqueue`/`before_perform` respectively halts with `throw :abort`.
-Rails.application.config.active_job.skip_after_callbacks_if_terminated = true
+Rails.application.config.active_job.skip_after_callbacks_if_terminated = true
 
 # Specify cookies SameSite protection level: either :none, :lax, or :strict.
 #