From 89fa0a52c56dfc8968890b0b05f0374d31510afb Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Tue, 14 Nov 2017 19:04:44 +0100 Subject: [PATCH] [fix] Wrong import --- app/modules/prover/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/prover/index.ts b/app/modules/prover/index.ts index 624f456d4..856e14237 100644 --- a/app/modules/prover/index.ts +++ b/app/modules/prover/index.ts @@ -22,7 +22,7 @@ export const ProverDependency = { conf.cpu = ProverConstants.DEFAULT_CPU; } if (conf.nbCores === null || conf.nbCores === undefined) { - conf.nbCores = Math.min(Constants.CORES_MAXIMUM_USE_IN_PARALLEL, require('os').cpus().length) + conf.nbCores = Math.min(ProverConstants.CORES_MAXIMUM_USE_IN_PARALLEL, require('os').cpus().length) } else if (conf.nbCores <= 0) { conf.nbCores = 1 } -- GitLab