Sha256: 392be83927bcc92a32920b0523c5ee3286951c6e9300bc82a4fa4147918e64ba
Contents?: true
Size: 548 Bytes
Versions: 150
Compression:
Stored size: 548 Bytes
Contents
# frozen_string_literal: true module Appsignal class Hooks # @api private class UnicornHook < Appsignal::Hooks::Hook register :unicorn def dependencies_present? defined?(::Unicorn::HttpServer) && defined?(::Unicorn::Worker) end def install require "appsignal/integrations/unicorn" ::Unicorn::HttpServer.prepend Appsignal::Integrations::UnicornIntegration::Server ::Unicorn::Worker.prepend Appsignal::Integrations::UnicornIntegration::Worker end end end end
Version data entries
150 entries across 150 versions & 1 rubygems