diff options
author | TangJicheng <tangjch15@gmail.com> | 2023-07-11 08:32:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 08:32:04 +0000 |
commit | 14501f56aaf3c97fb2c38633350dc747b9651f43 (patch) | |
tree | 6e1e5a08dbdc8d6b45e607e01e2f65880f6d94ab /modules/api/api.py | |
parent | 10d4e4ace2d243c020e6a83060c938dee7d8c02d (diff) | |
download | stable-diffusion-webui-gfx803-14501f56aaf3c97fb2c38633350dc747b9651f43.tar.gz stable-diffusion-webui-gfx803-14501f56aaf3c97fb2c38633350dc747b9651f43.tar.bz2 stable-diffusion-webui-gfx803-14501f56aaf3c97fb2c38633350dc747b9651f43.zip |
set timeout_keep_alive
Diffstat (limited to 'modules/api/api.py')
-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 7f7e3a9b..4ea5d825 100644 --- a/modules/api/api.py +++ b/modules/api/api.py @@ -715,4 +715,4 @@ class Api: def launch(self, server_name, port): self.app.include_router(self.router) - uvicorn.run(self.app, host=server_name, port=port, timeout_keep_alive=0) + uvicorn.run(self.app, host=server_name, port=port, timeout_keep_alive=shared.cmd_opts.timeout_keep_alive) |