Manager: disable periodic VACUUM
This commit is contained in:
parent
084712baba
commit
9096ee0533
@ -85,7 +85,12 @@ func main() {
|
|||||||
|
|
||||||
// Construct the services.
|
// Construct the services.
|
||||||
persist := openDB(*configService)
|
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)
|
flamenco := buildFlamencoAPI(configService, persist)
|
||||||
e := buildWebService(flamenco, persist, ssdp)
|
e := buildWebService(flamenco, persist, ssdp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user