Skip to content

Commit

Permalink
Merge pull request #11292 from MinaProtocol/feature/more-cpus
Browse files Browse the repository at this point in the history
More workers for faster proofs
  • Loading branch information
mitschabaude committed Jun 16, 2022
2 parents 42a3119 + 5c7b2b0 commit ae125ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/crypto/kimchi_bindings/js/node_js/node_backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ var plonk_wasm = (function() {
// global scope, yet not attached to the global object, so we can't access
// it differently.
if (worker_threads.isMainThread) {
plonk_wasm.initThreadPool(3, __filename);
plonk_wasm.initThreadPool(require('os').cpus().length - 1, __filename);
} else {
wasm_ready(plonk_wasm);
}
Expand Down

0 comments on commit ae125ba

Please sign in to comment.