changed file mode
sophuwu sophie@sophuwu.com
Sun, 27 Jul 2025 22:47:02 +0200
1 files changed,
5 insertions(+),
1 deletions(-)
jump to
M
db/db.go
→
db/db.go
@@ -2,12 +2,16 @@ package db
import ( "github.com/asdine/storm/v3" + "go.etcd.io/bbolt" + "time" ) var AuthUwu *storm.DB func Open(path string) error { - db, err := storm.Open(path) + db, err := storm.Open(path, storm.BoltOptions(0660, &bbolt.Options{ + Timeout: time.Second, + })) if err != nil { return err }