Skip to content

Commit 22d5139

Browse files
committed
Bump to a5
1 parent 0db3eb0 commit 22d5139

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

plugwise_usb/connection/queue.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,9 @@ async def _send_queue_worker(self) -> None:
197197
return
198198

199199
queue_depth = self._stick.queue_depth - self._submit_queue.dropped_msgs
200-
if queue_depth > 3:
201-
_LOGGER.warning("Awaiting responses %d", queue_depth)
200+
if self._submit_queue.qsize > 3:
201+
_LOGGER.warning("Awaiting responses (qsize) %d", self._submit_queue.qsize)
202+
_LOGGER.warning("Awaiting responses (queu_depth) %d", queue_depth)
202203
_LOGGER.warning("Queue contents: %s", self._submit_queue._queue)
203204
_LOGGER.warning("Requests dropped: %d", self._submit_queue.dropped_msgs)
204205
await sleep(0.125)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "plugwise_usb"
7-
version = "0.44.8a4"
7+
version = "0.44.8a5"
88
license = "MIT"
99
keywords = ["home", "automation", "plugwise", "module", "usb"]
1010
classifiers = [

0 commit comments

Comments
 (0)