From 0975dd007a84b8dcef63dcf4177a38511fec2133 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Thu, 14 May 2026 11:06:28 -0400 Subject: [PATCH] Fix misleading docstring on _purge_old_jobs_loop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The comment claimed the function "runs daily event purge" — that housekeeping is done by monitor.py's main loop, not here. Co-Authored-By: Claude Sonnet 4.6 --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index ea74689..3de273d 100644 --- a/app.py +++ b/app.py @@ -64,7 +64,7 @@ _diag_rate: dict = {} def _purge_old_jobs_loop(): - """Background thread: remove stale diag jobs and run daily event purge.""" + """Background thread: remove stale diagnostic jobs and mark stuck ones done.""" while True: time.sleep(120) cutoff = time.time() - 600