From c3bf0af57c66472718cf54c6055752c37f377af7 Mon Sep 17 00:00:00 2001 From: Kyle Peacock Date: Wed, 13 Mar 2024 09:03:40 -0700 Subject: [PATCH] remove redundant check for timestamp --- packages/agent/src/agent/http/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/agent/src/agent/http/index.ts b/packages/agent/src/agent/http/index.ts index 052bb380..e8ca5a1d 100644 --- a/packages/agent/src/agent/http/index.ts +++ b/packages/agent/src/agent/http/index.ts @@ -491,7 +491,7 @@ export class HttpAgent implements Agent { }); // If the timestamp is less than the watermark, retry the request up to the retry limit - if (timestamp && Number(this.waterMark) > timeStampInMs) { + if (Number(this.waterMark) > timeStampInMs) { const error = new AgentError('Timestamp is below the watermark. Retrying query.'); this.log.error('Timestamp is below', error, { timestamp,