Skip to content

Commit

Permalink
[pick_first] de-experiment pick first
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanli-ml committed Aug 14, 2023
1 parent 67ad297 commit 4d3b337
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@ namespace grpc_core {

TraceFlag grpc_lb_pick_first_trace(false, "pick_first");

// TODO(eostroukhov): Remove once this feature is no longer experimental.
bool ShufflePickFirstEnabled() {
auto value = GetEnv("GRPC_EXPERIMENTAL_PICKFIRST_LB_CONFIG");
if (!value.has_value()) return false;
if (!value.has_value()) return true;
bool parsed_value;
bool parse_succeeded = gpr_parse_bool_value(value->c_str(), &parsed_value);
return parse_succeeded && parsed_value;
Expand Down

0 comments on commit 4d3b337

Please sign in to comment.