mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
set channel queue maxsize to 32
This commit is contained in:
parent
3e8d8fd1b0
commit
2f64a08623
|
@ -35,7 +35,7 @@ class WebSocketChannel:
|
|||
self._serializer_cls = serializer_cls
|
||||
|
||||
self._subscriptions: List[str] = []
|
||||
self.queue: asyncio.Queue[Dict[str, Any]] = asyncio.Queue()
|
||||
self.queue: asyncio.Queue[Dict[str, Any]] = asyncio.Queue(maxsize=32)
|
||||
self._relay_task = asyncio.create_task(self.relay())
|
||||
|
||||
# Internal event to signify a closed websocket
|
||||
|
|
Loading…
Reference in New Issue
Block a user