mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-19 04:43:48 +01:00
fix(backend): Fix startup with MK_DISABLE_CLUSTERING
(MisskeyIO#234)
This commit is contained in:
parent
b3b3e48ce2
commit
4bf1bb6edd
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ if (cluster.isPrimary || envOption.disableClustering) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cluster.isWorker || envOption.disableClustering) {
|
if (cluster.isWorker) {
|
||||||
await workerMain();
|
await workerMain();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue