Remove same checksum skip check - saved a little CPU but added a lot of complexity (#2700)

This commit is contained in:
dgtlmoon
2024-10-11 17:28:42 +02:00
committed by GitHub
parent 03151da68e
commit 5bb47e47db
10 changed files with 21 additions and 31 deletions

View File

@@ -157,7 +157,7 @@ class difference_detection_processor():
# After init, call run_changedetection() which will do the actual change-detection
@abstractmethod
def run_changedetection(self, watch, skip_when_checksum_same: bool = True):
def run_changedetection(self, watch):
update_obj = {'last_notification_error': False, 'last_error': False}
some_data = 'xxxxx'
update_obj["previous_md5"] = hashlib.md5(some_data.encode('utf-8')).hexdigest()