forked from svrjs/svrjs
Lint out unnamed functions
This commit is contained in:
parent
d2e9f73f2f
commit
2c2ca100a4
1 changed files with 2 additions and 2 deletions
4
svr.js
4
svr.js
|
@ -5506,7 +5506,7 @@ function start(init) {
|
||||||
closedMaster = true;
|
closedMaster = true;
|
||||||
|
|
||||||
workersToFork = getWorkerCountToFork();
|
workersToFork = getWorkerCountToFork();
|
||||||
forkWorkers(workersToFork, function() {
|
forkWorkers(workersToFork, function () {
|
||||||
SVRJSInitialized = true;
|
SVRJSInitialized = true;
|
||||||
exiting = false;
|
exiting = false;
|
||||||
serverconsole.climessage("SVR.JS workers restarted.");
|
serverconsole.climessage("SVR.JS workers restarted.");
|
||||||
|
@ -5559,7 +5559,7 @@ function start(init) {
|
||||||
// Cluster forking code
|
// Cluster forking code
|
||||||
if (cluster.isPrimary !== undefined && init) {
|
if (cluster.isPrimary !== undefined && init) {
|
||||||
workersToFork = getWorkerCountToFork();
|
workersToFork = getWorkerCountToFork();
|
||||||
forkWorkers(workersToFork, function() {
|
forkWorkers(workersToFork, function () {
|
||||||
SVRJSInitialized = true;
|
SVRJSInitialized = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Reference in a new issue