Skip to content

Commit

Permalink
Switch default load balancer policy to round_robin
Browse files Browse the repository at this point in the history
  • Loading branch information
jcferretti authored and lburgazzoli committed Mar 9, 2024
1 parent 10b07f5 commit ae0e540
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ ManagedChannelBuilder<?> defaultChannelBuilder(String target) {
if (builder.loadBalancerPolicy() != null) {
channelBuilder.defaultLoadBalancingPolicy(builder.loadBalancerPolicy());
} else {
channelBuilder.defaultLoadBalancingPolicy("pick_first");
channelBuilder.defaultLoadBalancingPolicy("round_robin");
}

if (builder.headers() != null) {
Expand Down

0 comments on commit ae0e540

Please sign in to comment.