diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-09-02T09·58+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-09-02T09·58+0200 |
commit | efe428946431c6c670151c949884fa8c1fa31794 (patch) | |
tree | 3d9d05c8397aef96010f10261912e458c44814ef /src/libstore/globals.hh | |
parent | afc6c1bad63e27d68adf49e673f8aafd36495a8a (diff) |
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.
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r-- | src/libstore/globals.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index f129d9a11edc..50b61725c742 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -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; |