diff --git a/node/modules/storageminer.go b/node/modules/storageminer.go index 0747c805c..de7256cf6 100644 --- a/node/modules/storageminer.go +++ b/node/modules/storageminer.go @@ -285,7 +285,7 @@ func StorageNetworkName(ctx helpers.MetricsCtx, a v1api.FullNode) (dtypes.Networ } func NewBoostDB(r lotus_repo.LockedRepo) (*sql.DB, error) { - dbPath := path.Join(r.Path(), "boost.db") + dbPath := path.Join(r.Path(), "boost.db?cache=shared") return db.SqlDB(dbPath) } @@ -294,7 +294,7 @@ type LogSqlDB struct { } func NewLogsSqlDB(r repo.LockedRepo) (*LogSqlDB, error) { - dbPath := path.Join(r.Path(), "boost.logs.db") + dbPath := path.Join(r.Path(), "boost.logs.db?cache=shared") d, err := db.SqlDB(dbPath) if err != nil { return nil, err