aboutsummaryrefslogtreecommitdiff
path: root/modules/api
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-05-22 22:17:25 +0300
committerGitHub <noreply@github.com>2023-05-22 22:17:25 +0300
commitd77ba18d5d127714a8bcc685538296e7ce6d4e05 (patch)
treea8c1dc79206161b0c06547936566c6b1a4fc7ce2 /modules/api
parentcc2f6e3b7b8d720a8e0fb2732751e34b7f41c2e9 (diff)
parentefc98530595443d31c773526c6b760b722019d62 (diff)
Merge pull request #10635 from prodialabs/master
disable `timeout_keep_alive`: fixes #10625 #10510 #10474
Diffstat (limited to 'modules/api')
-rw-r--r--modules/api/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/api/api.py b/modules/api/api.py
index eee99bbb..6a456861 100644
--- a/modules/api/api.py
+++ b/modules/api/api.py
@@ -700,4 +700,4 @@ class Api:
def launch(self, server_name, port):
self.app.include_router(self.router)
- uvicorn.run(self.app, host=server_name, port=port)
+ uvicorn.run(self.app, host=server_name, port=port, timeout_keep_alive=0)