Skip to content

Commit

Permalink
TODO; check the commit msg
Browse files Browse the repository at this point in the history
It is a fix from the aggregation PR, done here to not reabase now
the entire train. We will do at the next review cycle.
  • Loading branch information
codebien committed May 27, 2023
1 parent 09fd67f commit 3d4683b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions output/cloud/expv2/collect.go
Expand Up @@ -102,6 +102,12 @@ func (c *collector) DropExpiringDelay() {
c.waitPeriod = 0
}

// SetNoDelayOnFlush drops the waiting time for buckets
// for the expiring checks.
func (c *collector) SetNoDelayOnFlush() {
c.waitPeriod = 0
}

func (c *collector) collectSample(s metrics.Sample) {
bucketID := c.bucketID(s.Time)

Expand Down

0 comments on commit 3d4683b

Please sign in to comment.