fix: endtime

This commit is contained in:
Richard Ramos 2024-08-19 18:39:08 -04:00
parent 824d708e9a
commit 796c57b2f5
No known key found for this signature in database
GPG Key ID: 1CE87DB518195760

View File

@ -274,7 +274,7 @@ func (app *Application) verifyHistory(ctx context.Context, runId string, storeno
// This avoids extremely large resultsets
if endTime.Sub(startTime) > timeInterval {
endTime = endTime.Add(timeInterval)
endTime = startTime.Add(timeInterval)
shouldResetTimer = true
}