diff --git a/fastapi/app/main.py b/fastapi/app/main.py index e374e88..f2128c3 100644 --- a/fastapi/app/main.py +++ b/fastapi/app/main.py @@ -539,7 +539,7 @@ async def reader(channel: aioredis.client.PubSub): await websocket.send_text(json.dumps(item)) except Exception as e: await websocket.send_text(f"Error: {str(e)}") - await asyncio.sleep(3) + await asyncio.sleep(1.5) except asyncio.TimeoutError: pass