mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-08 22:09:10 +02:00
todo: troubleshoot sse with multiuser
This commit is contained in:
+2
-2
@@ -565,9 +565,9 @@ class ServerRequestHandler(http.server.SimpleHTTPRequestHandler):
|
||||
|
||||
# flush buffers, sleep a bit to make sure all data sent, and then force close the connection
|
||||
self.wfile.flush()
|
||||
await asyncio.sleep(0.2)
|
||||
self.close_connection = True
|
||||
await asyncio.sleep(0.1)
|
||||
self.close_connection = True
|
||||
await asyncio.sleep(0.05)
|
||||
|
||||
|
||||
async def handle_request(self, genparams, api_format, stream_flag):
|
||||
|
||||
Reference in New Issue
Block a user