Module: Appsignal::Integrations::UnicornIntegration::Server

Defined in:
lib/appsignal/integrations/unicorn.rb

Overview

Make sure that appsignal is started and the last transaction in a worker gets flushed.

We'd love to be able to hook this into Unicorn in a less intrusive way, but this is the best we can do given the options we have.

Instance Method Summary collapse

Instance Method Details

#worker_loop(worker) ⇒ Object



14
15
16
17
# File 'lib/appsignal/integrations/unicorn.rb', line 14

def worker_loop(worker)
  Appsignal.forked
  super
end