From d848c2728347410e4be65db6e7733bd2bdbcefd5 Mon Sep 17 00:00:00 2001 From: Timothy Pogue Date: Wed, 2 Nov 2022 13:30:42 -0600 Subject: [PATCH] add task done to broadcast queue method --- freqtrade/rpc/api_server/webserver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/rpc/api_server/webserver.py b/freqtrade/rpc/api_server/webserver.py index 1d0192a89..51dceb64b 100644 --- a/freqtrade/rpc/api_server/webserver.py +++ b/freqtrade/rpc/api_server/webserver.py @@ -197,6 +197,7 @@ class ApiServer(RPCHandler): # Get data from queue message: WSMessageSchemaType = await async_queue.get() logger.debug(f"Found message of type: {message.get('type')}") + async_queue.task_done() # Broadcast it await self._ws_channel_manager.broadcast(message) except asyncio.CancelledError: