File tree Expand file tree Collapse file tree
util/src/main/java/io/grpc/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 * EquivalentAddressGroup}s from the {@link NameResolver}.
4242 */
4343final class RoundRobinLoadBalancer extends MultiChildLoadBalancer {
44- private static final PickResult CONNECTING_RESULT =
45- PickResult . withNoResult ( "connecting" , " round_robin: attempting to connect " );
44+ private static final PickResult CONNECTING_RESULT = PickResult . withNoResult ( "connecting" ,
45+ " round_robin connecting: TCP/TLS handshake in progress to child balancers " );
4646 private final AtomicInteger sequence = new AtomicInteger (new Random ().nextInt ());
4747 private SubchannelPicker currentPicker = new FixedResultPicker (connectingResult ());
4848
@@ -51,8 +51,7 @@ public RoundRobinLoadBalancer(Helper helper) {
5151 }
5252
5353 private PickResult connectingResult () {
54- return PickResult .withNoResult ("connecting" ,
55- "round_robin connecting: TCP/TLS handshake in progress to child balancers" );
54+ return CONNECTING_RESULT ;
5655 }
5756
5857 /**
You can’t perform that action at this time.
0 commit comments