Disable hourly DB wipe, improve DB maintainance

This commit is contained in:
Daniel 2020-04-27 08:19:33 +02:00
parent dd892c97d2
commit 9d526314a9
3 changed files with 68 additions and 13 deletions

View file

@ -1,6 +1,7 @@
package database
import (
"context"
"fmt"
"io/ioutil"
"log"
@ -162,7 +163,7 @@ func TestDatabaseSystem(t *testing.T) {
testDatabase(t, "fstree")
testDatabase(t, "hashmap")
err = MaintainRecordStates()
err = MaintainRecordStates(context.TODO())
if err != nil {
t.Fatal(err)
}