未验证 提交 2fd2f435 编写于 作者: R Rafael França 提交者: Rafael Mendonça França

Merge pull request #36542 from spk/add-pidfile-option-to-puma-conf

Add pidfile option to puma config template
上级 f9cbb3e1
...@@ -16,6 +16,9 @@ port ENV.fetch("PORT") { 3000 } ...@@ -16,6 +16,9 @@ port ENV.fetch("PORT") { 3000 }
# #
environment ENV.fetch("RAILS_ENV") { "development" } environment ENV.fetch("RAILS_ENV") { "development" }
# Specifies the `pidfile` that Puma will use.
pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
# Specifies the number of `workers` to boot in clustered mode. # Specifies the number of `workers` to boot in clustered mode.
# Workers are forked web server processes. If using threads and workers together # Workers are forked web server processes. If using threads and workers together
# the concurrency of the application would be max `threads` * `workers`. # the concurrency of the application would be max `threads` * `workers`.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册