diff --git a/index.js b/index.js index 5d76e6a65..fc7ce2730 100644 --- a/index.js +++ b/index.js @@ -17,6 +17,9 @@ let currentWorker; // Master if (cluster.isMaster) { + // Set process name so we can easily find it + process.title = 'gql-supervisor'; + // Show real stack trace in development if (process.env.NODE_ENV === 'development') { try { @@ -83,4 +86,4 @@ if (cluster.isWorker) { log.error(` Could not load main field "${mainPath}".`); process.exit(1); } -} \ No newline at end of file +}