WIP logo/terminal stuff

This commit is contained in:
Emma [it/its]@Rory& authored and Rory& committed 2025-07-27 15:49:37 +02:00
1 parent 3f7d26118d
commit bd81cde977
15 files changed
+1552 -26

No files matched your search

+2 -2
View File
@@ -35,7 +35,7 @@ try {
}
if (cluster.isPrimary && process.env.NODE_ENV == "production") {
console.log(`Primary ${process.pid} is running`);
console.log(`Primary PID: ${process.pid}`);
// Fork workers.
for (let i = 0; i < cores; i++) {
@@ -43,7 +43,7 @@ if (cluster.isPrimary && process.env.NODE_ENV == "production") {
}
cluster.on("exit", (worker) => {
console.log(`worker ${worker.process.pid} died, restart worker`);
console.log(`Worker ${worker.process.pid} died, restarting worker`);
cluster.fork();
});
} else {