1
0
Fork 0
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:
Eelco Dolstra 2013-09-02 11:58:18 +02:00
parent afc6c1bad6
commit efe4289464
4 changed files with 34 additions and 0 deletions

View file

@ -153,6 +153,10 @@ struct Settings {
/* Whether to compress logs. */
bool compressLog;
/* Maximum number of bytes a builder can write to stdout/stderr
before being killed (0 means no limit). */
unsigned long maxLogSize;
/* Whether to cache build failures. */
bool cacheFailure;