utils(asyncio): use trace logging for some cancelling messages

This commit is contained in:
Aleix Conchillo Flaqué
2025-07-28 17:43:41 -07:00
parent 4b2ba2d69f
commit 03e87469df
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ class WatchdogPriorityQueue(asyncio.PriorityQueue):
get_result = await super().get()
if isinstance(get_result, _WatchdogPriorityCancelSentinel):
logger.debug(
logger.trace(
"Received WatchdogPriorityCancelSentinel, throwing CancelledError to force cancelling"
)
raise asyncio.CancelledError("Cancelling watchdog queue get() call.")

View File

@@ -62,7 +62,7 @@ class WatchdogQueue(asyncio.Queue):
get_result = await super().get()
if isinstance(get_result, _WatchdogQueueCancelSentinel):
logger.debug(
logger.trace(
"Received WatchdogQueueCancelFrame, throwing CancelledError to force cancelling"
)
raise asyncio.CancelledError("Cancelling watchdog queue get() call.")