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 887d908 commit 4a26a49Copy full SHA for 4a26a49
balancer/leastrequest/leastrequest.go
@@ -112,7 +112,9 @@ type scWithRPCCount struct {
112
}
113
114
func (lrb *leastRequestBalancer) Build(info base.PickerBuildInfo) balancer.Picker {
115
- logger.Infof("least-request: Build called with info: %v", info)
+ if logger.V(2) {
116
+ logger.Infof("least-request: Build called with info: %v", info)
117
+ }
118
if len(info.ReadySCs) == 0 {
119
return base.NewErrPicker(balancer.ErrNoSubConnAvailable)
120
0 commit comments