summaryrefslogtreecommitdiff
path: root/java/sdk.go
diff options
context:
space:
mode:
author Kousik Kumar <kousikk@google.com> 2022-01-13 02:13:10 -0500
committer Kousik Kumar <kousikk@google.com> 2022-01-13 02:13:10 -0500
commit35faaef43e53e671be136bda39cd61cdc9c1c7b2 (patch)
tree9411a91345f8698bc51662c8c113cc22bcc67b93 /java/sdk.go
parentde232dbed23ca079f8ad118dda26b6d746c52d3c (diff)
Pass along local resource fraction to reproxy
Reproxy should be respecting the -j value set by the user and not be doing excessive local executions assuming the whole machine is available to it. The local_resource_fraction flag is a way to ensure reproxy consumes CPU only upto the -j value specified by the user. Test: 1. Ran with `USE_RBE=true m -j 10 nothing` and local_resource_fraction was set to 0.14 on a 72-core workstation. 2. Ran with `USE_RBE=true m nothing` and local_resource_fraction was set to 1.0 on a 72-core machine. Bug: b/207296459 Change-Id: I118bc10109f5a55df7a6c1ecd79499320055f2ed
Diffstat (limited to 'java/sdk.go')
0 files changed, 0 insertions, 0 deletions