MCPcopy Create free account
hub / github.com/cortexproject/cortex / Stop

Method Stop

pkg/util/time.go:207–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205}
206
207func (t *SlottedTicker) Stop() {
208 t.ticker.Stop()
209 t.done()
210}
211
212func (t *SlottedTicker) nextInterval() time.Duration {
213 slotIndex, totalSlots := t.sf()

Callers 2

compactionLoopMethod · 0.95
TestSlottedTickerFunction · 0.95

Calls 2

StopMethod · 0.65
doneMethod · 0.65

Tested by 1

TestSlottedTickerFunction · 0.76