Skip to content

Commit

Permalink
Merge pull request #453 from ipfs-force-community/fix/hang-on-generat…
Browse files Browse the repository at this point in the history
…e-index

fix: Do not recover failed indexes on startup
  • Loading branch information
LinZexiao authored Oct 10, 2023
2 parents 88e6432 + 9188e31 commit 8c7aef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dagstore/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func NewDAGStore(ctx context.Context,
// conditional throttling.
MaxConcurrentIndex: cfg.MaxConcurrentIndex,
MaxConcurrentReadyFetches: cfg.MaxConcurrentReadyFetches,
RecoverOnStart: dagstore.RecoverNow,
RecoverOnStart: dagstore.RecoverOnAcquire,
}

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

0 comments on commit 8c7aef7

Please sign in to comment.