Skip to content

Commit

Permalink
remove redundant check for timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock committed Mar 13, 2024
1 parent c954fa5 commit c3bf0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/agent/src/agent/http/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c3bf0af

Please sign in to comment.