Skip to content
Snippets Groups Projects
Commit 89fa0a52 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] Wrong import

parent f253bb6b
No related branches found
No related tags found
3 merge requests!1220Stable/ws2p v1.1 trymerge,!1208Stable/ws2p v1.1,!1154Typage
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment