mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Change debug message about deleting db entries to warning (#11780)
This commit is contained in:
parent
8cc170f027
commit
d2787d4308
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user