mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Add an option to limit the log output of builders
This is mostly useful for Hydra to deal with builders that get stuck in an infinite loop writing data to stdout/stderr.
This commit is contained in:
parent
afc6c1bad6
commit
efe4289464
4 changed files with 34 additions and 0 deletions
|
@ -46,6 +46,7 @@ Settings::Settings()
|
|||
impersonateLinux26 = false;
|
||||
keepLog = true;
|
||||
compressLog = true;
|
||||
maxLogSize = 0;
|
||||
cacheFailure = false;
|
||||
pollInterval = 5;
|
||||
checkRootReachability = false;
|
||||
|
@ -140,6 +141,7 @@ void Settings::update()
|
|||
get(impersonateLinux26, "build-impersonate-linux-26");
|
||||
get(keepLog, "build-keep-log");
|
||||
get(compressLog, "build-compress-log");
|
||||
get(maxLogSize, "build-max-log-size");
|
||||
get(cacheFailure, "build-cache-failure");
|
||||
get(pollInterval, "build-poll-interval");
|
||||
get(checkRootReachability, "gc-check-reachability");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue