Browse Source

Set windows devs to use remote-local-fallback.

There are performance issues with racing finalization that need to be
investigated.

Bug:b/335525655
Change-Id: Ic7e7e3d34f3ce6e75d4939ff3ba2fc3cf734a99d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5464353
Commit-Queue: Michael Savigny <msavigny@google.com>
Reviewed-by: Ben Segall <bentekkie@google.com>
Michael Savigny 1 year ago
parent
commit
0d48b75661
1 changed files with 3 additions and 0 deletions
  1. 3 0
      reclient_helper.py

+ 3 - 0
reclient_helper.py

@@ -281,6 +281,9 @@ def set_win_defaults():
     # Reduce local resource fraction used to do local compile actions on
     # Reduce local resource fraction used to do local compile actions on
     # windows, to try and prevent machine saturation.
     # windows, to try and prevent machine saturation.
     os.environ.setdefault("RBE_local_resource_fraction", "0.05")
     os.environ.setdefault("RBE_local_resource_fraction", "0.05")
+    # Set execution strategy to remote_local_fallback while racing performance
+    # on windows is addressed.
+    os.environ.setdefault("RBE_exec_strategy", "remote_local_fallback")
 
 
 
 
 def workspace_is_cog():
 def workspace_is_cog():