mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed CIRA connections on latest NodeJS releases.
This commit is contained in:
parent
d387a0cc8b
commit
2a3a2ef2e8
3 changed files with 4 additions and 3 deletions
|
@ -549,7 +549,7 @@ module.exports.CertificateOperations = function (parent) {
|
|||
// Accelerators, used to dispatch work to other processes
|
||||
const fork = require("child_process").fork;
|
||||
const program = require("path").join(__dirname, "meshaccelerator.js");
|
||||
const acceleratorTotalCount = 1; //require("os").cpus().length; // TODO: Check if this accelerator can scale.
|
||||
const acceleratorTotalCount = require("os").cpus().length; // TODO: Check if this accelerator can scale.
|
||||
var acceleratorCreateCount = acceleratorTotalCount;
|
||||
var freeAccelerators = [];
|
||||
var pendingAccelerator = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue