⬆️ update sqlite

This commit is contained in:
源文雨
2022-06-10 15:47:47 +08:00
parent 9f748a8119
commit fbeb048c44
15 changed files with 122 additions and 47 deletions

View File

@@ -5,6 +5,7 @@ import (
"strconv"
"strings"
"sync"
"time"
ctrl "github.com/FloatTech/zbpctrl"
"github.com/FloatTech/zbputils/control"
@@ -20,7 +21,7 @@ func init() {
PrivateDataFolder: "driftbottle",
})
sea.DBPath = en.DataFolder() + "sea.db"
err := sea.Open()
err := sea.Open(time.Hour * 24)
if err != nil {
panic(err)
}