forked from svrjs/svrjs
Remove more TODO comments
This commit is contained in:
parent
9d1e6e82ba
commit
87cecd6cf3
1 changed files with 1 additions and 4 deletions
|
@ -1214,9 +1214,6 @@ function SVRJSFork() {
|
||||||
SVRJSFork();
|
SVRJSFork();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// TODO: add listeners to workers
|
|
||||||
// newWorker.on("message", bruteForceListenerWrapper(newWorker));
|
|
||||||
// newWorker.on("message", listenConnListener);
|
|
||||||
addListenersToWorker(newWorker);
|
addListenersToWorker(newWorker);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1253,7 +1250,7 @@ function forkWorkers(workersToFork, callback) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: main message event listener
|
// Listening message event listener
|
||||||
process.messageEventListeners.push((worker, serverconsole) => {
|
process.messageEventListeners.push((worker, serverconsole) => {
|
||||||
return (message) => {
|
return (message) => {
|
||||||
if (message == "\x12LISTEN") {
|
if (message == "\x12LISTEN") {
|
||||||
|
|
Reference in a new issue