Change debug message about deleting db entries to warning (#11780)

This commit is contained in:
Josh Hawkins 2024-06-06 10:16:28 -05:00 committed by GitHub
parent 8cc170f027
commit d2787d4308
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ def sync_recordings(limited: bool) -> None:
]
if float(len(recordings_to_delete)) / max(1, recordings.count()) > 0.5:
logger.debug(
logger.warning(
f"Deleting {(float(len(recordings_to_delete)) / recordings.count()):2f}% of recordings DB entries, could be due to configuration error. Aborting..."
)
return False