Node.js - Cluster Module
This Node.js code aims to create two worker processes but has a bug:
What is the main problem?
const cluster = require('cluster');
if (cluster.isMaster) {
cluster.fork();
} else {
cluster.fork();
console.log('Worker running');
}What is the main problem?
