Skip to content

Commit 8c7aef7

Browse files
authored
Merge pull request #453 from ipfs-force-community/fix/hang-on-generate-index
fix: Do not recover failed indexes on startup
2 parents 88e6432 + 9188e31 commit 8c7aef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dagstore/wrapper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func NewDAGStore(ctx context.Context,
110110
// conditional throttling.
111111
MaxConcurrentIndex: cfg.MaxConcurrentIndex,
112112
MaxConcurrentReadyFetches: cfg.MaxConcurrentReadyFetches,
113-
RecoverOnStart: dagstore.RecoverNow,
113+
RecoverOnStart: dagstore.RecoverOnAcquire,
114114
}
115115

116116
if cfg.MongoTopIndex != nil && len(cfg.MongoTopIndex.Url) != 0 {

0 commit comments

Comments
 (0)