From df7dc5a9cd09f23f73a6b45cacd5259234d0b9ce Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 5 Feb 2020 09:18:42 -0500 Subject: [PATCH] Revert zipping to legacy --- config.js | 4 ++-- index.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.js b/config.js index cb38e43..c63fdd6 100644 --- a/config.js +++ b/config.js @@ -117,7 +117,7 @@ config.maxConcurrency = parseInt(argv.max_concurrency || fromConfigFile("maxConc config.maxRuntime = parseInt(argv.max_runtime || fromConfigFile("maxRuntime", -1)); // Detect 7z availability -const childProcess = spawnSync("7z", ['--help']); -config.has7z = childProcess.status === 0; +// const childProcess = spawnSync("7z", ['--help']); +config.has7z = false; //childProcess.status === 0; module.exports = config; diff --git a/index.js b/index.js index 9808739..1ad191e 100644 --- a/index.js +++ b/index.js @@ -901,9 +901,9 @@ if (config.test) { if (config.testDropUploads) logger.info("Uploads will drop at random"); } -if (!config.has7z){ - logger.warn("The 7z program is not installed, falling back to legacy (zipping will be slower)"); -} +// if (!config.has7z){ +// logger.warn("The 7z program is not installed, falling back to legacy (zipping will be slower)"); +// } let commands = [ cb => odmInfo.initialize(cb),