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

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

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

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

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



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

def worker_loop(worker)
  Appsignal.forked
  super
end