Do not recheck 'paused' watches on edit/save (Re #2747 #2750)

This commit is contained in:
dgtlmoon
2024-10-29 08:24:15 +01:00
committed by GitHub
parent 563c196396
commit 7d94535dbf

View File

@@ -803,6 +803,7 @@ def changedetection_app(config=None, datastore_o=None):
# But in the case something is added we should save straight away
datastore.needs_write_urgent = True
if not datastore.data['watching'][uuid].get('paused'):
# Queue the watch for immediate recheck, with a higher priority
update_q.put(queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': uuid}))