Skip to content

Instantly share code, notes, and snippets.

@meelash
Created June 29, 2012 17:52
Show Gist options
  • Select an option

  • Save meelash/3019600 to your computer and use it in GitHub Desktop.

Select an option

Save meelash/3019600 to your computer and use it in GitHub Desktop.
for (id in cluster.workers) {
worker = cluster.workers[id];
worker.process.kill();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment