fix(server): make DB PRAGMA optimize error non-fatal

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2026-06-09 19:29:51 -04:00
parent b6fba33b14
commit bd3192be0b

View File

@ -51,7 +51,6 @@ func Db() *sql.DB {
_, err = db.Exec("PRAGMA optimize=0x10002")
if err != nil {
log.Error("Error applying PRAGMA optimize", err)
return nil
}
}
return db