Sha256: 796f011a67b2da4f86457e0e39888b34375dc0223bd6f74f8f87549f2ba0fd06
Contents?: true
Size: 594 Bytes
Versions: 5
Compression:
Stored size: 594 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 => to_s, :method => "perform" ) do yield end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems