From 4bf1bb6edd63696088c9ed029f6b78f9429cd381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Mon, 20 Nov 2023 08:13:22 +0900 Subject: [PATCH] fix(backend): Fix startup with `MK_DISABLE_CLUSTERING` (MisskeyIO#234) --- packages/backend/src/boot/entry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/boot/entry.ts b/packages/backend/src/boot/entry.ts index 28bcdb5ff4..5a91300abe 100644 --- a/packages/backend/src/boot/entry.ts +++ b/packages/backend/src/boot/entry.ts @@ -98,7 +98,7 @@ if (cluster.isPrimary || envOption.disableClustering) { } } -if (cluster.isWorker || envOption.disableClustering) { +if (cluster.isWorker) { await workerMain(); }