Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
207
func
(t *SlottedTicker) Stop() {
208
t.ticker.Stop()
209
t.done()
210
}
211
212
func
(t *SlottedTicker) nextInterval() time.Duration {
213
slotIndex, totalSlots := t.sf()
Callers
2
compactionLoop
Method · 0.95
TestSlottedTicker
Function · 0.95
Calls
2
Stop
Method · 0.65
done
Method · 0.65
Tested by
1
TestSlottedTicker
Function · 0.76