1
0
Fork 0
forked from svrjs/svrjs

Lint out unnamed functions

This commit is contained in:
Dorian Niemiec 2024-05-30 09:15:11 +02:00
parent d2e9f73f2f
commit 2c2ca100a4

4
svr.js
View file

@ -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;
}); });