1
0
Fork 0
forked from svrjs/svrjs

Remove more TODO comments

This commit is contained in:
Dorian Niemiec 2024-08-26 06:23:24 +02:00
parent 9d1e6e82ba
commit 87cecd6cf3

View file

@ -1214,9 +1214,6 @@ function SVRJSFork() {
SVRJSFork();
}
});
// TODO: add listeners to workers
// newWorker.on("message", bruteForceListenerWrapper(newWorker));
// newWorker.on("message", listenConnListener);
addListenersToWorker(newWorker);
}
}
@ -1253,7 +1250,7 @@ function forkWorkers(workersToFork, callback) {
}
}
// TODO: main message event listener
// Listening message event listener
process.messageEventListeners.push((worker, serverconsole) => {
return (message) => {
if (message == "\x12LISTEN") {