From 9cffa3ca2b68ff66b5e6cfd8106b41cdb430cf79 Mon Sep 17 00:00:00 2001 From: Timothy Pogue Date: Sat, 22 Oct 2022 21:03:57 -0600 Subject: [PATCH] add comment in channel --- freqtrade/rpc/api_server/ws/channel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/rpc/api_server/ws/channel.py b/freqtrade/rpc/api_server/ws/channel.py index 4afca0d33..92cb6dedc 100644 --- a/freqtrade/rpc/api_server/ws/channel.py +++ b/freqtrade/rpc/api_server/ws/channel.py @@ -40,6 +40,7 @@ class WebSocketChannel: self.throttle = throttle self._subscriptions: List[str] = [] + # 32 is the size of the receiving queue in websockets package self.queue: asyncio.Queue[Dict[str, Any]] = asyncio.Queue(maxsize=32) self._relay_task = asyncio.create_task(self.relay())