Manager: disable periodic VACUUM

This commit is contained in:
Sybren A. Stüvel 2022-03-17 15:38:14 +01:00
parent 084712baba
commit 9096ee0533

View File

@ -85,7 +85,12 @@ func main() {
// Construct the services.
persist := openDB(*configService)
go persist.PeriodicMaintenanceLoop(mainCtx)
// Disabled for now. `VACUUM` locks the database, which means that other
// queries can fail with a "database is locked (5) (SQLITE_BUSY)" error. This
// situation should be handled gracefully before reinstating the vacuum loop.
//
// go persist.PeriodicMaintenanceLoop(mainCtx)
flamenco := buildFlamencoAPI(configService, persist)
e := buildWebService(flamenco, persist, ssdp)