mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +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 init_database(self) -> None:
|
||||||
def vacuum_db(db: SqliteExtDatabase) -> None:
|
def vacuum_db(db: SqliteExtDatabase) -> None:
|
||||||
|
logger.info("Running database vacuum")
|
||||||
db.execute_sql("VACUUM;")
|
db.execute_sql("VACUUM;")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user