typo
This commit is contained in:
parent
6bb0b2f78e
commit
b2d2c4e794
|
@ -685,7 +685,7 @@ let _useWorkers = true; // The following is just to check wheter Node.js can use
|
||||||
return true;
|
return true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(`[bigint-crypto-utils] WARNING:
|
console.log(`[bigint-crypto-utils] WARNING:
|
||||||
This node version doesn't support worker_threads. You should enable them in order to greately speedup the generation of big prime numbers.
|
This node version doesn't support worker_threads. You should enable them in order to greatly speedup the generation of big prime numbers.
|
||||||
· With Node 11 it is enabled by default (consider upgrading).
|
· With Node 11 it is enabled by default (consider upgrading).
|
||||||
· With Node 10, starting with 10.5.0, you can enable worker_threads at runtime executing node --experimental-worker `);
|
· With Node 10, starting with 10.5.0, you can enable worker_threads at runtime executing node --experimental-worker `);
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -738,7 +738,7 @@ if (!process.browser) { // Node.js
|
||||||
return true;
|
return true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(`[bigint-crypto-utils] WARNING:
|
console.log(`[bigint-crypto-utils] WARNING:
|
||||||
This node version doesn't support worker_threads. You should enable them in order to greately speedup the generation of big prime numbers.
|
This node version doesn't support worker_threads. You should enable them in order to greatly speedup the generation of big prime numbers.
|
||||||
· With Node 11 it is enabled by default (consider upgrading).
|
· With Node 11 it is enabled by default (consider upgrading).
|
||||||
· With Node 10, starting with 10.5.0, you can enable worker_threads at runtime executing node --experimental-worker `);
|
· With Node 10, starting with 10.5.0, you can enable worker_threads at runtime executing node --experimental-worker `);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue