mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-04-21 04:11:01 -07:00
modules/api/api.py: disable timeout_keep_alive
This commit is contained in:
parent
89f9faa633
commit
efc9853059
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue