There's only 2 cores on the machine.

This commit is contained in:
Julien Palard 2023-02-13 12:04:41 +01:00
parent 9eb3582e39
commit 572c913437
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@
RuntimeDirectory=afpy-org
WorkingDirectory=/home/afpy-org/src/
Environment="SENTRY_DSN={{ afpy_org_sentry_dsn }}" "FLASK_PORT=false" "FLASK_DEBUG=false" "FLASK_HOST=www.afpy.org" "FLASK_SECRET_KEY={{ vault_new_afpy_org_flask_secret_key }}" "DB_NAME=/home/afpy-org/afpy.db" "IMAGES_PATH=/home/afpy-org/images/"
ExecStart=/home/afpy-org/venv/bin/gunicorn -w 4 \
ExecStart=/home/afpy-org/venv/bin/gunicorn -w 2 \
--pid /run/afpy-org/website.pid \
--bind unix:/run/afpy-org/website.sock afpy:application
ExecReload=/bin/kill -s HUP $MAINPID