Skip to content

Commit

Permalink
fix(backend): デフォルト起動時のメインプロセスはHTTPサーバモジュールのみ読み込む (#15355)
Browse files Browse the repository at this point in the history
  • Loading branch information
samunohito authored Jan 27, 2025
1 parent 4f31dcf commit 8232ea6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/backend/src/boot/master.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export async function masterMain() {
}

bootLogger.info(
`mode: [disableClustering: ${envOption.disableClustering}, onlyServer: ${envOption.onlyServer}, onlyQueue: ${envOption.onlyQueue}]`
`mode: [disableClustering: ${envOption.disableClustering}, onlyServer: ${envOption.onlyServer}, onlyQueue: ${envOption.onlyQueue}]`,
);

if (!envOption.disableClustering) {
Expand All @@ -107,7 +107,6 @@ export async function masterMain() {
await jobQueue();
} else {
await server();
await jobQueue();
}

await spawnWorkers(config.clusterLimit);
Expand Down

0 comments on commit 8232ea6

Please sign in to comment.