Sha256: d2f9d50490c21fb0515935f0051c68b89cb155a95ad60525aa4b300f3eb4b44f
Contents?: true
Size: 788 Bytes
Versions: 3
Compression:
Stored size: 788 Bytes
Contents
directory "<%=current_path%>" environment "<%= fetch(:rails_env, 'production') %>" daemonize true worker_timeout <%= fetch(:app_server_timeout, 60) %> worker_boot_timeout <%= fetch(:app_server_timeout, fetch(:app_server_timeout, 60)) %> pidfile '<%="#{shared_path}/pids/puma.pid"%>' state_path '<%="#{shared_path}/pids/puma.state"%>' stdout_redirect "<%="#{shared_path}/log/puma.stdout.log"%>", "<%="#{shared_path}/log/puma.stderr.log"%>", true threads <%= fetch(:app_server_min_threads, 0) %>, <%= fetch(:app_server_max_threads, 4) %> bind "<%="tcp://#{fetch(:app_server_host)}:#{fetch(:app_server_port)}"%>" workers <%= fetch(:app_server_workers, 4) %> preload_app! on_worker_boot do ActiveSupport.on_load(:active_record) do ActiveRecord::Base.establish_connection end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capistrano-unformatt-2.4 | vendor/templates/puma.rb.erb |
capistrano-unformatt-2.3 | vendor/templates/puma.rb.erb |
capistrano-unformatt-2.2 | vendor/templates/puma.rb.erb |