docker: set WSGI processes=8 threads=1
Benchmarks tell us throughput increases linearly with processes count. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
This commit is contained in:
parent
ec9d0b6538
commit
24e11d2749
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
SetEnv LXR_PROJ_DIR /srv/elixir-data/
|
||||
# NOTE: it's recommended to set processes value to the number of available cores
|
||||
WSGIDaemonProcess Elixir processes=4 display-name=%{GROUP} home=/usr/local/elixir/ python-home=/usr/local/elixir/venv/
|
||||
WSGIDaemonProcess Elixir processes=8 threads=1 display-name=%{GROUP} home=/usr/local/elixir/ python-home=/usr/local/elixir/venv/
|
||||
|
||||
WSGIProcessGroup Elixir
|
||||
WSGIScriptAliasMatch "^/(?!static/)" /usr/local/elixir/wsgi.py/$1
|
||||
|
|
|
|||
Loading…
Reference in a new issue