From 97222cf718e61b522b4b92f0124068f967a2625d Mon Sep 17 00:00:00 2001
From: Pouria Hadjibagheri
Date: Mon, 31 May 2021 17:34:31 +0100
Subject: [PATCH] increases backlog + max req limits
---
app/uvicorn_worker.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/uvicorn_worker.py b/app/uvicorn_worker.py
index 1d20c4c..44864a9 100644
--- a/app/uvicorn_worker.py
+++ b/app/uvicorn_worker.py
@@ -18,7 +18,7 @@ class ServerUvicornWorker(UvicornWorker):
"proxy_headers": True,
"access_log": True,
"reload": False,
- "backlog": 4,
- "limit_max_requests": 2,
+ "backlog": 8,
+ "limit_max_requests": 64,
"timeout_notify": 5
}