lib/appsignal/integrations/delayed_job_plugin.rb in appsignal-1.1.5.beta.1 vs lib/appsignal/integrations/delayed_job_plugin.rb in appsignal-1.1.5.beta.2
- old
+ new
@@ -7,10 +7,10 @@
lifecycle.around(:invoke_job) do |job, &block|
invoke_with_instrumentation(job, block)
end
lifecycle.after(:execute) do |execute|
- Appsignal.stop
+ Appsignal.stop('delayed job')
end
end
def self.invoke_with_instrumentation(job, block)
if job.respond_to?(:payload_object)