We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 461b7f3 commit 1e279beCopy full SHA for 1e279be
railties/lib/rails/generators/rails/app/templates/config/puma.rb.tt
@@ -5,6 +5,10 @@
5
# Puma starts a configurable number of processes (workers) and each process
6
# serves each request in a thread from an internal thread pool.
7
#
8
+# You can control the number of workers using ENV["WEB_CONCURRENCY"]. You
9
+# should only set this value when you want to run 2 or more workers. The
10
+# default is already 1.
11
+#
12
# The ideal number of threads per worker depends both on how much time the
13
# application spends waiting for IO operations and on how much you wish to
14
# prioritize throughput over latency.
0 commit comments