rule tweak

This commit is contained in:
dgtlmoon
2026-02-16 23:14:41 +01:00
parent 4d6189f10d
commit 3b8fee8a73
+1 -3
View File
@@ -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