grid2: adjust maxTries to 5

This commit is contained in:
c9s 2022-12-26 18:08:36 +08:00
parent a4f5d15334
commit d9312abba2
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -1054,7 +1054,7 @@ func (s *Strategy) recoverGrid(ctx context.Context, historyService types.Exchang
// TODO: handle context correctly
startTime := firstOrderTime
endTime := now
maxTries := 3
maxTries := 5
localHistoryRollbackDuration := historyRollbackDuration
for maxTries > 0 {
maxTries--