Sha256: 9c29ddc3d88c2c55c2a27d4598366ca2a681f6748c4a60123d189260f1c9ff02
Contents?: true
Size: 476 Bytes
Versions: 13
Compression:
Stored size: 476 Bytes
Contents
environment ENV.fetch('RAILS_ENV', 'development') port ENV.fetch('WEB_PORT', 3000) workers ENV.fetch('WEB_CONCURRENCY', 4) threads_count = ENV.fetch('RAILS_MAX_THREADS', 8) pidfile './tmp/pids/server.pid' threads threads_count, threads_count preload_app! if ENV.key?('WEB_PRELOAD_APP') before_fork do ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord) end on_worker_boot do ActiveRecord::Base.establish_connection if defined?(ActiveRecord) end
Version data entries
13 entries across 13 versions & 1 rubygems