git.sophuwu.com > authuwu
changed file mode
sophuwu sophie@sophuwu.com
Sun, 27 Jul 2025 22:47:02 +0200
commit

f3a53ad3d5bf3d354741dd43b16d0d2b586a10c9

parent

994ffc862d24bd5b0024339b59771532791bf0b4

1 files changed, 5 insertions(+), 1 deletions(-)

jump to
M db/db.godb/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 }