From 3714d7074b91b9f0219e9fbac9c3effed9b4aecd Mon Sep 17 00:00:00 2001 From: Timothy Pogue Date: Sat, 19 Nov 2022 13:29:23 -0700 Subject: [PATCH] smaller throttle in channel send --- freqtrade/rpc/api_server/ws/channel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/rpc/api_server/ws/channel.py b/freqtrade/rpc/api_server/ws/channel.py index 7a1191d62..80b2ec220 100644 --- a/freqtrade/rpc/api_server/ws/channel.py +++ b/freqtrade/rpc/api_server/ws/channel.py @@ -63,8 +63,8 @@ class WebSocketChannel: # With the sleep call, it gives control to the event # loop to schedule other channel send methods, and helps # throttle how fast we send. - # 0.01 = 100 messages/second max throughput - await asyncio.sleep(0.01) + # 0.005 = 200 messages/second max throughput + await asyncio.sleep(0.005) async def recv(self): """