|
|
@ -6,7 +6,7 @@ var nconf = require('nconf'),
|
|
|
|
async = require('async'),
|
|
|
|
async = require('async'),
|
|
|
|
pidFilePath = __dirname + '/pidfile',
|
|
|
|
pidFilePath = __dirname + '/pidfile',
|
|
|
|
output = fs.openSync(__dirname + '/logs/output.log', 'a'),
|
|
|
|
output = fs.openSync(__dirname + '/logs/output.log', 'a'),
|
|
|
|
numCPUs = require('os').cpus().length,
|
|
|
|
numCPUs = 12,// require('os').cpus().length,
|
|
|
|
Loader = {
|
|
|
|
Loader = {
|
|
|
|
timesStarted: 0,
|
|
|
|
timesStarted: 0,
|
|
|
|
shutdown_queue: [],
|
|
|
|
shutdown_queue: [],
|
|
|
|