Add log line to show if our polling loop actually mops anything up

This commit is contained in:
Jack Kingsman
2026-03-02 15:32:58 -08:00
parent b7976206fc
commit d860ea706d

View File

@@ -361,7 +361,12 @@ async def _message_poll_loop():
blocking=False,
suspend_auto_fetch=True,
) as mc:
await poll_for_messages(mc)
count = await poll_for_messages(mc)
if count > 0:
logger.warning(
"Poll loop caught %d message(s) missed by auto-fetch",
count,
)
except RadioOperationBusyError:
logger.debug("Skipping message poll: radio busy")