mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Document workers and threads environment variables (#2536)
This commit is contained in:
parent
30a8cc0ff2
commit
f7c0f3b6f5
1 changed files with 6 additions and 2 deletions
|
@ -405,7 +405,10 @@ module Puma
|
|||
# Configure +min+ to be the minimum number of threads to use to answer
|
||||
# requests and +max+ the maximum.
|
||||
#
|
||||
# The default is "0, 5" in MRI or "0, 16" for other interpreters.
|
||||
# The default is the environment variables +PUMA_MIN_THREADS+ / +PUMA_MAX_THREADS+
|
||||
# (or +MIN_THREADS+ / +MAX_THREADS+ if the +PUMA_+ variables aren't set).
|
||||
#
|
||||
# If these environment variables aren't set, the default is "0, 5" in MRI or "0, 16" for other interpreters.
|
||||
#
|
||||
# @example
|
||||
# threads 0, 16
|
||||
|
@ -470,7 +473,8 @@ module Puma
|
|||
# How many worker processes to run. Typically this is set to
|
||||
# the number of available cores.
|
||||
#
|
||||
# The default is 0.
|
||||
# The default is the value of the environment variable +WEB_CONCURRENCY+ if
|
||||
# set, otherwise 0.
|
||||
#
|
||||
# @note Cluster mode only.
|
||||
# @see Puma::Cluster
|
||||
|
|
Loading…
Add table
Reference in a new issue