We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d5139 commit cc2ae05Copy full SHA for cc2ae05
plugwise_usb/connection/queue.py
@@ -197,8 +197,10 @@ async def _send_queue_worker(self) -> None:
197
return
198
199
queue_depth = self._stick.queue_depth - self._submit_queue.dropped_msgs
200
- if self._submit_queue.qsize > 3:
201
- _LOGGER.warning("Awaiting responses (qsize) %d", self._submit_queue.qsize)
+ if self._submit_queue.qsize() > 3:
+ _LOGGER.warning(
202
+ "Awaiting responses (qsize) %d", self._submit_queue.qsize()
203
+ )
204
_LOGGER.warning("Awaiting responses (queu_depth) %d", queue_depth)
205
_LOGGER.warning("Queue contents: %s", self._submit_queue._queue)
206
_LOGGER.warning("Requests dropped: %d", self._submit_queue.dropped_msgs)
0 commit comments