diff options
author | Monty Anderson <work@montyanderson.net> | 2023-05-22 14:52:44 +0000 |
---|---|---|
committer | Monty Anderson <work@montyanderson.net> | 2023-05-22 14:52:44 +0000 |
commit | efc98530595443d31c773526c6b760b722019d62 (patch) | |
tree | 7246045d204465903606cba2a1785267e8ac2c18 /modules/api | |
parent | 89f9faa63388756314e8a1d96cf86bf5e0663045 (diff) | |
download | stable-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')
-rw-r--r-- | modules/api/api.py | 2 |
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) |