Add info logging at startup if vacuuming database

This commit is contained in:
leccelecce 2024-01-24 20:56:48 +00:00 committed by GitHub
parent 487c626e00
commit 45b5dd7da0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -271,6 +271,7 @@ class FrigateApp:
def init_database(self) -> None:
def vacuum_db(db: SqliteExtDatabase) -> None:
logger.info("Running database vacuum")
db.execute_sql("VACUUM;")
try: