Commit 89fa0a52 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] Wrong import

parent f253bb6b
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment