aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/api.py
diff options
context:
space:
mode:
authorMonty Anderson <work@montyanderson.net>2023-05-22 14:52:44 +0000
committerMonty Anderson <work@montyanderson.net>2023-05-22 14:52:44 +0000
commitefc98530595443d31c773526c6b760b722019d62 (patch)
tree7246045d204465903606cba2a1785267e8ac2c18 /modules/api/api.py
parent89f9faa63388756314e8a1d96cf86bf5e0663045 (diff)
downloadstable-diffusion-webui-gfx803-efc98530595443d31c773526c6b760b722019d62.tar.gz
stable-diffusion-webui-gfx803-efc98530595443d31c773526c6b760b722019d62.tar.bz2
stable-diffusion-webui-gfx803-efc98530595443d31c773526c6b760b722019d62.zip
`modules/api/api.py`: disable `timeout_keep_alive`
Diffstat (limited to 'modules/api/api.py')
-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)