Skip to content

Commit 09cfb45

Browse files
committed
fix: increase cache store timeout
1 parent b7b28d9 commit 09cfb45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/services/store/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func NewStore(dbPath string) (Store, error) {
4747
if dbPath == "" {
4848
dbPath = Path()
4949
}
50-
db, err := bolt.Open(dbPath, 0666, &bolt.Options{Timeout: 5 * time.Second})
50+
db, err := bolt.Open(dbPath, 0666, &bolt.Options{Timeout: 30 * time.Second})
5151
if err != nil {
5252
return nil, fmt.Errorf("failed to open db: %w", err)
5353
}

0 commit comments

Comments
 (0)