From d860ea706d2d13ebf488497cec916468d5d80ab9 Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Mon, 2 Mar 2026 15:32:58 -0800 Subject: [PATCH] Add log line to show if our polling loop actually mops anything up --- app/radio_sync.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/radio_sync.py b/app/radio_sync.py index ae70a87..f6148e9 100644 --- a/app/radio_sync.py +++ b/app/radio_sync.py @@ -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")