Sha256: 78e8c79637c48141491e712dc56c43cc0767845c0c1f723126199730dd1726ac

Contents?: true

Size: 274 Bytes

Versions: 7

Compression:

Stored size: 274 Bytes

Contents

if defined?(::PhusionPassenger)
  Appsignal.logger.info('Loading Passenger integration')

  ::PhusionPassenger.on_event(:starting_worker_process) do |forked|
    Appsignal.forked
  end

  ::PhusionPassenger.on_event(:stopping_worker_process) do
    Appsignal.stop
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
appsignal-0.12.rc.7 lib/appsignal/integrations/passenger.rb
appsignal-0.12.rc.6 lib/appsignal/integrations/passenger.rb
appsignal-0.12.rc.5 lib/appsignal/integrations/passenger.rb
appsignal-0.12.beta.54 lib/appsignal/integrations/passenger.rb
appsignal-0.12.beta.53 lib/appsignal/integrations/passenger.rb
appsignal-0.12.beta.52 lib/appsignal/integrations/passenger.rb
appsignal-0.12.beta.51 lib/appsignal/integrations/passenger.rb