aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMonty Anderson <work@montyanderson.net>2023-05-22 15:52:44 +0100
committerMonty Anderson <work@montyanderson.net>2023-05-22 15:52:44 +0100
commitefc98530595443d31c773526c6b760b722019d62 (patch)
tree7246045d204465903606cba2a1785267e8ac2c18 /modules
parent89f9faa63388756314e8a1d96cf86bf5e0663045 (diff)
`modules/api/api.py`: disable `timeout_keep_alive`
Diffstat (limited to 'modules')
-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 9bb95dfd..bfeec385 100644
--- a/modules/api/api.py
+++ b/modules/api/api.py
@@ -682,4 +682,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)