mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
modules/api/api.py
: disable timeout_keep_alive
This commit is contained in:
parent
89f9faa633
commit
efc9853059
@ -682,4 +682,4 @@ class Api:
|
|||||||
|
|
||||||
def launch(self, server_name, port):
|
def launch(self, server_name, port):
|
||||||
self.app.include_router(self.router)
|
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…
Reference in New Issue
Block a user