Skip to content

Commit

Permalink
differentiate logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmulcahey committed Sep 28, 2024
1 parent 61a6a25 commit 624caf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zigpy/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ async def _limit_concurrency(self):

if was_locked:
LOGGER.debug(
"Device concurrency (%s) reached, delaying request (%s enqueued)",
"Device concurrency (%s) reached, delaying device request (%s enqueued)",
self._concurrent_requests_semaphore.max_value,
self._concurrent_requests_semaphore.num_waiting,
)

async with self._concurrent_requests_semaphore:
if was_locked:
LOGGER.debug(
"Previously delayed request is now running, delayed by %0.2fs",
"Previously delayed device request is now running, delayed by %0.2fs",
time.monotonic() - start_time,
)

Expand Down

0 comments on commit 624caf2

Please # to comment.