Skip after callbacks if terminated in active job
Not sure this configuration option does anything, though, since it's been removed in Rails 7.0 because it was not halting the callbacks. But, if it does nothing, it's the same as disabling it, which is what we were doing until now, so in the end using the Rails 6.1 default value does no harm.
This commit is contained in:
@@ -17,7 +17,7 @@ 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.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user