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