Skip to content

Commit

Permalink
also reset the counter
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlmoon committed Sep 17, 2024
1 parent 04bbd68 commit e26d917
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions changedetectionio/update_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ def run(self):
if not watch.get('notification_muted'):
logger.debug(f"Sending filter failed notification for {uuid}")
self.send_filter_failure_notification(uuid)
c = 0
logger.debug(f"Reset filter failure count back to zero")

self.datastore.update_watch(uuid=uuid, update_obj={'consecutive_filter_failures': c})
Expand Down

0 comments on commit e26d917

Please sign in to comment.