Skip to content

Commit

Permalink
chore: minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-k-singh committed Sep 19, 2024
1 parent df974a3 commit b2f41e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/clickhousesystemtablesreceiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (r *systemTablesReceiver) scrapeQueryLogIfReady(ctx context.Context) (

nextWaitSeconds := uint32(0)
if nextScrapeMinServerTs > serverTsNow {
// Do the subtraction only if it will not lead to a
// Do the subtraction only if it will not lead to an overflow/wrap around
nextWaitSeconds = nextScrapeMinServerTs - serverTsNow
}

Expand Down

0 comments on commit b2f41e4

Please sign in to comment.