mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-12 05:38:12 +09:00
fix(backend): Fix startup with MK_DISABLE_CLUSTERING
(MisskeyIO#234)
This commit is contained in:
parent
b3b3e48ce2
commit
4bf1bb6edd
@ -98,7 +98,7 @@ if (cluster.isPrimary || envOption.disableClustering) {
|
||||
}
|
||||
}
|
||||
|
||||
if (cluster.isWorker || envOption.disableClustering) {
|
||||
if (cluster.isWorker) {
|
||||
await workerMain();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user