diff options
author | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2018-02-07T16·54+0100 |
---|---|---|
committer | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2018-02-07T16·54+0100 |
commit | 55ecdfe2a83a161c27d6497733cdc60fa112a43d (patch) | |
tree | 65fa86164a490f60aead0ecabb98b38c1c723ccb /src/libstore/globals.hh | |
parent | 163e39547ae6f69586e23b85e462bfc5a2131a17 (diff) |
make multi threaded compression configurable and use single threaded
by default.
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r-- | src/libstore/globals.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index 20ac8fe4e9ae..aafec2ea269b 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -174,6 +174,9 @@ public: "Whether to compress logs.", {"build-compress-log"}}; + Setting<bool> parallelCompression{this, false, "parallel-compression", + "Whether to enable parallel compression, only supported with xz currently"}; + Setting<unsigned long> maxLogSize{this, 0, "max-build-log-size", "Maximum number of bytes a builder can write to stdout/stderr " "before being killed (0 means no limit).", |