diff --git a/extensions/api/streaming_api.py b/extensions/api/streaming_api.py index c06facc..3b9ac65 100644 --- a/extensions/api/streaming_api.py +++ b/extensions/api/streaming_api.py @@ -56,7 +56,7 @@ async def _handle_connection(websocket, path): async def _run(host: str, port: int): - async with serve(_handle_connection, host, port): + async with serve(_handle_connection, host, port, ping_interval=None): await asyncio.Future() # run forever