docs: add worker mode documentation + improvements (#11812)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-03-11 19:12:32 +02:00
1 parent ef66ff8f99
commit 267af9f3f6
10 files changed
+8414 -8168

No files matched your search

@@ -47,11 +47,9 @@ When you deploy your Medusa application, make sure your chosen hosting provider
### Worker Mode
The `workerMode` configuration determines which mode the Medusa application runs in.
The `workerMode` configuration determines which mode the Medusa application runs in. When you deploy the Medusa application, you deploy two instances: one in server mode, and one in worker mode.
When you deploy the Medusa application, you deploy two instances: one in server mode, and one in worker mode.
Learn more about the `workerMode` configuration in [this document](../../configurations/medusa-config/page.mdx#workermode).
Learn more about worker mode in the [Worker Module chapter](../../production/worker-mode/page.mdx).
So, add the following configuration in `medusa-config.ts`: