Commit d77ba18d authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub

Merge pull request #10635 from prodialabs/master

disable `timeout_keep_alive`: fixes #10625 #10510 #10474
parents cc2f6e3b efc98530
...@@ -700,4 +700,4 @@ class Api: ...@@ -700,4 +700,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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment