Skip to content
Snippets Groups Projects

fix: don't create duplicate workers when clustering is disabled

Merged Hazelnoot requested to merge fix/remove-duplicate-worker into develop
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -75,7 +75,7 @@ async function main() {
ev.mount();
}
}
if (cluster.isWorker || envOption.disableClustering) {
if (cluster.isWorker) {
await workerMain();
}
Loading