mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-19 19:06:16 +01:00
Add info logging at startup if vacuuming database (#9432)
This commit is contained in:
parent
b1a034fbd4
commit
64a91f552f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user