updated backups solution

This commit is contained in:
Quality System Admin
2025-11-03 22:18:56 +02:00
parent 1ade0b5681
commit 9c19379810
17 changed files with 3105 additions and 50 deletions

View File

@@ -26,8 +26,9 @@ worker_class = os.getenv("GUNICORN_WORKER_CLASS", "sync")
worker_connections = int(os.getenv("GUNICORN_WORKER_CONNECTIONS", "1000"))
# Workers silent for more than this many seconds are killed and restarted
# Increase for long-running requests (file uploads, reports)
timeout = int(os.getenv("GUNICORN_TIMEOUT", "120"))
# Increase for long-running requests (file uploads, reports, large backups)
# For 5GB+ database operations, allow up to 30 minutes
timeout = int(os.getenv("GUNICORN_TIMEOUT", "1800")) # 30 minutes
# Keep-alive for reusing connections
keepalive = int(os.getenv("GUNICORN_KEEPALIVE", "5"))