Skip to content

Commit 9188e31

Browse files
committed
fix: Do not recover failed indexes on startup
1 parent cec5837 commit 9188e31

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)