[reclient] Dont limit local resources if RBE_remote_disabled=1

Bug: b/288564971
Change-Id: Ia3e556e5b30ca4ca82219e5ee696b7c982419de3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4748579
Reviewed-by: Ramy Medhat <abdelaal@google.com>
Auto-Submit: Ben Segall <bentekkie@google.com>
Commit-Queue: Ramy Medhat <abdelaal@google.com>
Commit-Queue: Ben Segall <bentekkie@google.com>
changes/79/4748579/3
Ben Segall 2 years ago committed by LUCI CQ
parent 029025a07c
commit 582edfab2c

@ -218,6 +218,8 @@ def build_context(argv, tool):
print('WARNING: Using RBE_instance=%s\n' % print('WARNING: Using RBE_instance=%s\n' %
os.environ.get('RBE_instance', '')) os.environ.get('RBE_instance', ''))
remote_disabled = os.environ.get('RBE_remote_disabled')
if remote_disabled not in ('1', 't', 'T', 'true', 'TRUE', 'True'):
set_racing_defaults() set_racing_defaults()
# TODO(b/292523514) remove this once a fix is landed in reproxy # TODO(b/292523514) remove this once a fix is landed in reproxy

Loading…
Cancel
Save