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 97cad7b commit 70bc4a0Copy full SHA for 70bc4a0
plugwise_usb/connection/queue.py
@@ -198,6 +198,7 @@ async def _send_queue_worker(self) -> None:
198
)
199
_LOGGER.warning("Queue contents: %s", self._submit_queue._queue)
200
_LOGGER.warning("Requests dropped: %d", self._submit_queue.dropped_msgs)
201
+ # When the queue size grows, rate-limit the sending of requests to avoid overloading the network
202
await sleep(0.125)
203
204
await self._stick.write_to_stick(request)
0 commit comments