back to new puma, have to roll out passenger

This commit is contained in:
Hub Feenix Member
2023-01-04 12:43:51 +02:00
parent 8cd2edb521
commit de6e0908e1
5 changed files with 5 additions and 13 deletions

View File

@ -13,10 +13,6 @@ threads min_threads_count, max_threads_count
#
worker_timeout 3600 if ENV.fetch("RAILS_ENV", "development") == "development"
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
#
port ENV.fetch("PORT") { 3000 }
# Specifies the `environment` that Puma will run in.
#
environment ENV.fetch("RAILS_ENV") { "development" }
@ -24,6 +20,8 @@ environment ENV.fetch("RAILS_ENV") { "development" }
# Specifies the `pidfile` that Puma will use.
pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
bind "tcp://0.0.0.0:3000"
# Specifies the number of `workers` to boot in clustered mode.
# Workers are forked web server processes. If using threads and workers together
# the concurrency of the application would be max `threads` * `workers`.