docs: remove start-cluster command + update start options (#12116)

This commit is contained in:
Shahed Nasser
2025-04-08 15:47:10 +03:00
committed by GitHub
parent 9ac74eead4
commit 78ee2e3063
7 changed files with 12616 additions and 12729 deletions
@@ -60,6 +60,23 @@ npx medusa start
`9000`
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>
`--cluster <number>`
</Table.Cell>
<Table.Cell>
Start Medusa's Node.js server in [cluster mode](https://expressjs.com/en/advanced/best-practice-performance.html#run-your-app-in-a-cluster). Running in cluster mode significantly improves performance as the workload and tasks are distributed among all available instances instead of a single one.
</Table.Cell>
<Table.Cell>
Cluster mode is disabled by default. If the option is passed but no number is passed, Medusa will try to consume all available CPU cores.
</Table.Cell>
</Table.Row>
</Table.Body>