Node.js - Cluster Module
Identify the error in the following code snippet that attempts to restart a worker on crash:
cluster.on('exit', (worker) => {
cluster.fork();
});cluster.on('exit', (worker) => {
cluster.fork();
});15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions