We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 863de73 commit 67a53a6Copy full SHA for 67a53a6
1 file changed
balancer/weightedroundrobin/balancer.go
@@ -369,6 +369,7 @@ func (p *picker) start(ctx context.Context) {
369
}
370
go func() {
371
ticker := time.NewTicker(time.Duration(p.cfg.WeightUpdatePeriod))
372
+ defer ticker.Stop()
373
for {
374
select {
375
case <-ctx.Done():
0 commit comments