Run Borg-UI with a single gunicorn worker (#17445)

This commit is contained in:
CanbiZ (MickLesk)
2026-09-23 16:17:35 +02:00
committed by GitHub
parent e11a07c197
commit ab57fd7f94
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ Type=simple
User=root
WorkingDirectory=/opt/borg-ui
EnvironmentFile=/opt/borg-ui/.env
ExecStart=/opt/borg-ui/.venv/bin/gunicorn app.main:app --bind 0.0.0.0:8081 --workers 2 --worker-class uvicorn.workers.UvicornWorker --timeout 300
ExecStart=/opt/borg-ui/.venv/bin/gunicorn app.main:app --bind 0.0.0.0:8081 --workers 1 --worker-class uvicorn.workers.UvicornWorker --timeout 300
Restart=on-failure
RestartSec=5