mirror of
https://github.com/safing/portbase
synced 2025-09-10 06:15:08 +00:00
Disable hourly DB wipe, improve DB maintainance
This commit is contained in:
parent
dd892c97d2
commit
9d526314a9
3 changed files with 68 additions and 13 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue