1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

Decrease worker number

This commit is contained in:
Josué Tille 2024-04-09 17:26:28 +02:00
parent bca04cb5f3
commit 4d07565e00
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -8,7 +8,7 @@ User=__APP__
WorkingDirectory=__INSTALL_DIR__ WorkingDirectory=__INSTALL_DIR__
RuntimeDirectory=__APP__ RuntimeDirectory=__APP__
# Note don't increase workers > 1 as it don't work # Note don't increase workers > 1 as it don't work
ExecStart=__INSTALL_DIR__/venv/bin/gunicorn --bind unix:/run/__APP__/app.socket --workers=1 --threads=10 --chdir __INSTALL_DIR__/venv/lib/python__PYTHON_VERSION__/site-packages/pgadmin4 pgAdmin4:app ExecStart=__INSTALL_DIR__/venv/bin/gunicorn --bind unix:/run/__APP__/app.socket --workers=1 --threads=4 --chdir __INSTALL_DIR__/venv/lib/python__PYTHON_VERSION__/site-packages/pgadmin4 pgAdmin4:app
Restart=always Restart=always
RestartSec=3 RestartSec=3