We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7682668 commit cd65fddCopy full SHA for cd65fdd
internal/table/client.go
@@ -66,7 +66,9 @@ func newClient(
66
},
67
done: make(chan struct{}),
68
}
69
- balancer.OnDiscovery(c.onDiscovery)
+ if balancer != nil {
70
+ balancer.OnDiscovery(c.onDiscovery)
71
+ }
72
if idleThreshold := config.IdleThreshold(); idleThreshold > 0 {
73
c.spawnedGoroutines.Add(1)
74
go c.internalPoolGC(ctx, idleThreshold)
0 commit comments