Sha256: 110e9cacdca238fc9139b394d9771fff4a5df416a8709204fc372abb723c152e
Contents?: true
Size: 502 Bytes
Versions: 24
Compression:
Stored size: 502 Bytes
Contents
module GovukUnicorn def self.configure(config) config.worker_processes Integer(ENV.fetch("UNICORN_WORKER_PROCESSES", 2)) if ENV["GOVUK_APP_LOGROOT"] config.stdout_path "#{ENV['GOVUK_APP_LOGROOT']}/app.out.log" config.stderr_path "#{ENV['GOVUK_APP_LOGROOT']}/app.err.log" end config.before_exec do |server| next unless ENV["GOVUK_APP_ROOT"] ENV["BUNDLE_GEMFILE"] = "#{ENV['GOVUK_APP_ROOT']}/Gemfile" end config.check_client_connection true end end
Version data entries
24 entries across 24 versions & 1 rubygems