fix(backend): Fix startup with MK_DISABLE_CLUSTERING (MisskeyIO#234)

This commit is contained in:
まっちゃとーにゅ 2023-11-20 08:13:22 +09:00 committed by GitHub
parent b3b3e48ce2
commit 4bf1bb6edd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ if (cluster.isPrimary || envOption.disableClustering) {
}
}
if (cluster.isWorker || envOption.disableClustering) {
if (cluster.isWorker) {
await workerMain();
}