about summary refs log tree commit diff
path: root/src/libstore/binary-cache-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2018-02-09T14·03+0100
committerGitHub <noreply@github.com>2018-02-09T14·03+0100
commit3d2d207aadb8e93760a9e417392208266f9985a3 (patch)
treee966f3b864f40a6acfdcb7ac7d964e56ddb76d80 /src/libstore/binary-cache-store.hh
parentad97a218344937d8586d0f4f710f3785da77f5bd (diff)
parent0685a6480a0056be6282826dd4a0ad9f755dcf23 (diff)
Merge pull request #1848 from AmineChikhaoui/parallel-xz
support multi threaded xz encoder
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r--src/libstore/binary-cache-store.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh
index 8492ff600eba..e20b968442b7 100644
--- a/src/libstore/binary-cache-store.hh
+++ b/src/libstore/binary-cache-store.hh
@@ -19,6 +19,8 @@ public:
     const Setting<bool> writeNARListing{this, false, "write-nar-listing", "whether to write a JSON file listing the files in each NAR"};
     const Setting<Path> secretKeyFile{this, "", "secret-key", "path to secret key used to sign the binary cache"};
     const Setting<Path> localNarCache{this, "", "local-nar-cache", "path to a local cache of NARs"};
+    const Setting<bool> parallelCompression{this, false, "parallel-compression",
+        "enable multi-threading compression, available for xz only currently"};
 
 private: