Re #2747 - Do not recheck 'paused' watches on edit/save

2747-dont-check-paused-on-edit
dgtlmoon 2 months ago
parent 563c196396
commit 046bbbffb6

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

Loading…
Cancel
Save