Skip to content

Commit b5f7bf2

Browse files
authored
feat(bigtable): make pow of 2 default lb policy (#14131)
1 parent e952b7c commit b5f7bf2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

bigtable/internal/option/option.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,8 @@ func parseLoadBalancingStrategy(strategyStr string) LoadBalancingStrategy {
180180
return PowerOfTwoLeastInFlight
181181
case "ROUND_ROBIN":
182182
return RoundRobin
183-
case "":
184-
return RoundRobin // Default if env var is not set
185183
default:
186-
return RoundRobin // Default for unknown values
184+
return PowerOfTwoLeastInFlight // Default for unknown values
187185
}
188186
}
189187

0 commit comments

Comments
 (0)