remove debugging log calls

This commit is contained in:
Timothy Pogue 2022-11-02 14:21:34 -06:00
parent c2bdaea84a
commit 55bf195bfb

View File

@ -137,14 +137,11 @@ class WebSocketChannel:
as a task. as a task.
""" """
while not self._closed.is_set(): while not self._closed.is_set():
logger.info(f"{self} Relay - queue.get")
message = await self.queue.get() message = await self.queue.get()
try: try:
logger.info(f"{self} Relay - sending message")
await self._send(message) await self._send(message)
self.queue.task_done() self.queue.task_done()
logger.info(f"{self} Relay - QSize: {self.queue.qsize()}")
# Limit messages per sec. # Limit messages per sec.
# Could cause problems with queue size if too low, and # Could cause problems with queue size if too low, and
# problems with network traffik if too high. # problems with network traffik if too high.