From 3b8fee8a73547adf3c609a904e1829d1cf71f64e Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 16 Feb 2026 23:14:41 +0100 Subject: [PATCH] rule tweak --- changedetectionio/worker.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/changedetectionio/worker.py b/changedetectionio/worker.py index 84f45c671..4eb9c0d26 100644 --- a/changedetectionio/worker.py +++ b/changedetectionio/worker.py @@ -56,6 +56,7 @@ async def async_update_worker(worker_id, q, notification_q, app, datastore, exec while not app.config.exit.is_set(): update_handler = None watch = None + processing_exception = None # Reset at start of each iteration to prevent state bleeding try: # Efficient blocking via run_in_executor (no polling overhead!) @@ -120,9 +121,6 @@ async def async_update_worker(worker_id, q, notification_q, app, datastore, exec fetch_start_time = round(time.time()) - # Track processing exception for plugin finalization - processing_exception = None - try: if uuid in list(datastore.data['watching'].keys()) and datastore.data['watching'][uuid].get('url'): changed_detected = False