mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 14:05:12 +00:00
fix: don't create duplicate workers when clustering is disabled
This commit is contained in:
parent
d0a2708f91
commit
cebad801e2
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ async function main() {
|
||||||
ev.mount();
|
ev.mount();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (cluster.isWorker || envOption.disableClustering) {
|
if (cluster.isWorker) {
|
||||||
await workerMain();
|
await workerMain();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue