Sha256: d680c5105ca0a66e022f679331ab5f9257a2a2bef27cac5ab5c7ec9f68d5aa85
Contents?: true
Size: 599 Bytes
Versions: 27
Compression:
Stored size: 599 Bytes
Contents
module Appsignal module Integrations module ResquePlugin # Do not use this file as a template for your own background processor # Resque is an exception to the rule and the code below causes the # extension to shut itself down after a single job. # see http://docs.appsignal.com/background-monitoring/custom.html def around_perform_resque_plugin(*args) Appsignal.monitor_single_transaction( 'perform_job.resque', :class => self.to_s, :method => 'perform' ) do yield end end end end end
Version data entries
27 entries across 27 versions & 1 rubygems