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

Method LastUpdateTime

pkg/ring/kv/multi.go:338–341  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

336}
337
338func (m *MultiClient) LastUpdateTime(key string) time.Time {
339 _, kv := m.getPrimaryClient()
340 return kv.client.LastUpdateTime(key)
341}
342
343func (m *MultiClient) writeToSecondary(ctx context.Context, primary kvclient, key string, newValue any) {
344 if m.mirrorTimeout > 0 {

Callers

nothing calls this directly

Calls 2

getPrimaryClientMethod · 0.95
LastUpdateTimeMethod · 0.65

Tested by

no test coverage detected