mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 19:55:26 +03:00
Add info logging at startup if vacuuming database
This commit is contained in:
parent
487c626e00
commit
45b5dd7da0
@ -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