We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
to_run
1 parent 19887de commit 906ab94Copy full SHA for 906ab94
activejob/lib/active_job/railtie.rb
@@ -101,6 +101,7 @@ class Railtie < Rails::Railtie # :nodoc:
101
initializer "active_job.clear_event_reporter_context" do
102
ActiveSupport.on_load(:active_job) do
103
ActiveJob::Callbacks.singleton_class.set_callback(:execute, :around) do |_, inner|
104
+ ActiveSupport.event_reporter.clear_context
105
inner.call
106
ensure
107
ActiveSupport.event_reporter.clear_context
activesupport/lib/active_support/railtie.rb
@@ -47,7 +47,6 @@ class Railtie < Rails::Railtie # :nodoc:
47
48
app.executor.to_run do
49
ActiveSupport::ExecutionContext.push
50
- ActiveSupport.event_reporter.clear_context
51
end
52
53
app.executor.to_complete do
0 commit comments