MCPcopy
hub / github.com/grafana/dskit / iteration

Method iteration

ring/client/pool.go:117–123  ·  view source on GitHub ↗
(_ context.Context)

Source from the content-addressed store, hash-verified

115}
116
117func (p *Pool) iteration(_ context.Context) error {
118 p.removeStaleClients()
119 if p.cfg.HealthCheckEnabled {
120 p.cleanUnhealthy()
121 }
122 return nil
123}
124
125func (p *Pool) fromCache(addr string) (*poolMember, bool) {
126 p.RLock()

Callers

nothing calls this directly

Calls 2

removeStaleClientsMethod · 0.95
cleanUnhealthyMethod · 0.95

Tested by

no test coverage detected