Skip to content

Commit

Permalink
disableClusteringを有効にしているとNestインスタンスが無駄に複数立ち上がるのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
adzukimame committed Dec 1, 2024
1 parent b10f9db commit be22a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/boot/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if (cluster.isPrimary || envOption.disableClustering) {
}
}

if (cluster.isWorker || envOption.disableClustering) {
if (cluster.isWorker) {
await workerMain();
}

Expand Down

0 comments on commit be22a52

Please sign in to comment.