From d411904b84c0d9f539bbdc84e3d63f9f282c658b Mon Sep 17 00:00:00 2001 From: Ben Segall Date: Fri, 21 Jul 2023 17:17:13 +0000 Subject: [PATCH] [reclient] disable racing for now until it is less agressive Bug: b/288564971 Change-Id: I06d1421ff7de353d6e87be33ac3dca8e06ff6880 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4704566 Auto-Submit: Ben Segall Reviewed-by: Andus Yu Commit-Queue: Ben Segall --- reclient_helper.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/reclient_helper.py b/reclient_helper.py index 2fca6cb91..eca6bdd7a 100644 --- a/reclient_helper.py +++ b/reclient_helper.py @@ -168,11 +168,6 @@ def set_reproxy_path_flags(out_dir, make_dirs=True): hashlib.sha256(tmp_dir.encode()).hexdigest()) -def enable_racing(): - os.environ.setdefault("RBE_exec_strategy", "racing") - # TODO(b/288285261) Tune bias once latency data has been gathered. - os.environ.setdefault("RBE_racing_bias", "0.95") - @contextlib.contextmanager def build_context(argv, tool): @@ -207,8 +202,6 @@ def build_context(argv, tool): print('WARNING: Using RBE_instance=%s\n' % os.environ.get('RBE_instance', '')) - enable_racing() - reproxy_ret_code = start_reproxy(reclient_cfg, reclient_bin_dir) if reproxy_ret_code != 0: yield reproxy_ret_code