Module: Appsignal::Integrations::ResquePlugin
- Defined in:
- lib/appsignal/integrations/resque.rb
Instance Method Summary collapse
-
#around_perform_resque_plugin(*args) ⇒ Object
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.
Instance Method Details
#around_perform_resque_plugin(*args) ⇒ Object
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 docs.appsignal.com/background-monitoring/custom.html
9 10 11 12 13 14 15 16 17 |
# File 'lib/appsignal/integrations/resque.rb', line 9 def around_perform_resque_plugin(*args) Appsignal.monitor_single_transaction( 'perform_job.resque', :class => self.to_s, :method => 'perform' ) do yield end end |