fix(backend): デフォルト起動時のメインプロセスはHTTPサーバモジュールのみ読み込む (#15355)

This commit is contained in:
おさむのひと 2025-01-27 22:10:00 +09:00 committed by laoXong
parent 9587fb87bf
commit 25dda5939b

View File

@ -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) {
@ -107,7 +107,6 @@ export async function masterMain() {
await jobQueue();
} else {
await server();
await jobQueue();
}
await spawnWorkers(config.clusterLimit);