Sha256: dfe792eba5324bddb6ffce4c67bf5fedc450a8a98ebdc06770a7b5588666cabe
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
workers Integer(ENV["WEB_CONCURRENCY"] || 3) threads Integer(ENV["MIN_THREADS"] || 1), Integer(ENV["MAX_THREADS"] || 16) preload_app! rackup DefaultRackup port ENV["PORT"] || 3000 environment ENV["RACK_ENV"] || "development" on_worker_boot do ActiveSupport.on_load(:active_record) do config = ActiveRecord::Base.configurations[Rails.env] || Rails.application.config.database_configuration[Rails.env] config["pool"] = ENV["MAX_THREADS"] || 16 ActiveRecord::Base.establish_connection(config) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bretels-1.1.0 | templates/puma.rb |