updated backups solution
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user