`modules/api/api.py`: disable `timeout_keep_alive`

This commit is contained in:
Monty Anderson 2023-05-22 15:52:44 +01:00
parent 89f9faa633
commit efc9853059
1 changed files with 1 additions and 1 deletions

View File

@ -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)