add comment in channel
This commit is contained in:
parent
4cbea0fd00
commit
9cffa3ca2b
@ -40,6 +40,7 @@ class WebSocketChannel:
|
|||||||
self.throttle = throttle
|
self.throttle = throttle
|
||||||
|
|
||||||
self._subscriptions: List[str] = []
|
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.queue: asyncio.Queue[Dict[str, Any]] = asyncio.Queue(maxsize=32)
|
||||||
self._relay_task = asyncio.create_task(self.relay())
|
self._relay_task = asyncio.create_task(self.relay())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user