From 796c57b2f5a10473cc65b3be24e0ce0e77cc4193 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Mon, 19 Aug 2024 18:39:08 -0400 Subject: [PATCH] fix: endtime --- cmd/storemsgcounter/execute.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/storemsgcounter/execute.go b/cmd/storemsgcounter/execute.go index 61238e8..8891885 100644 --- a/cmd/storemsgcounter/execute.go +++ b/cmd/storemsgcounter/execute.go @@ -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 }