lib/dispatch-rider/integrations/appsignal.rb in dispatch-rider-1.9.0 vs lib/dispatch-rider/integrations/appsignal.rb in dispatch-rider-2.0.0
- old
+ new
@@ -2,11 +2,10 @@
::Appsignal.logger.info('Loading Dispatch Rider integration')
module DispatchRider
module Integrations
module Appsignal
-
def self.wrap_message(job, message)
::Appsignal.start
::Appsignal.monitor_transaction(
'perform_job.dispatch-rider',
@@ -19,10 +18,9 @@
job.call
end
::Appsignal.stop
end
-
end
end
end
DispatchRider.configure do |config|