Skip to content

Commit

Permalink
[7.1.0] Increase maximal length of profile span for repository functi…
Browse files Browse the repository at this point in the history
…on calls (#20907)

Previously, when calling tools under the install base like
```
local: /home/twerth/.cache/bazel/_bazel_twerth/install/3b42d7048466237272cc2c9346f0b8ea/process-wrapper --timeout=600 --kill_delay=15 whoami
```
you would not even see that `process-wrapper` has been called.

There is only a handful of Starlark repository function calls in a
typical build and their description should also be well-compressible, so
the increase is fine.

Commit
38918be

PiperOrigin-RevId: 598584702
Change-Id: I03fcf504e4a805aee21f92e3bf16b44e58bfbf10

Co-authored-by: Googler <[email protected]>
  • Loading branch information
bazel-io and meisterT authored Jan 16, 2024
1 parent 761c343 commit debe29b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ private interface AsyncTask {
boolean cancel();
}

/** Max. number of command line args added as a profiler description. */
private static final int MAX_PROFILE_ARGS_LEN = 80;
/** Max. length of command line args added as a profiler description. */
private static final int MAX_PROFILE_ARGS_LEN = 512;

protected final Path workingDirectory;
protected final Environment env;
Expand Down

0 comments on commit debe29b

Please sign in to comment.