Skip to content

Commit bddd40b

Browse files
committed
Add more logging
1 parent d0f6464 commit bddd40b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugwise_usb/connection/queue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ async def _send_queue_worker(self) -> None:
195195
queue_depth = self._stick.queue_depth - self._submit_queue.dropped_msgs
196196
if queue_depth > 3:
197197
_LOGGER.warning("Awaiting responses %d", queue_depth)
198+
_LOGGER.warning("Queue contents: %s", self._submit_queue._queue)
198199
_LOGGER.warning("Requests dropped: %d", self._submit_queue.dropped_msgs)
199200
await sleep(0.125)
200201

0 commit comments

Comments
 (0)