docs: added doc pages for v1.20.4 (#6828)
- Added new documentation page for Medusa Worker. - Updated Railway deployment guide with details on Medusa Worker. - Small adjustments to the `worker_mode` option's TSDocs.
This commit is contained in:
@@ -522,10 +522,13 @@ export type ProjectConfigOptions = {
|
||||
jobs_batch_size?: number
|
||||
|
||||
/**
|
||||
* Configure the application's worker mode. The default value is `shared`.
|
||||
* - Use `shared` if you want to run the application in a single process.
|
||||
* - Use `worker` if you want to run the a worker process only.
|
||||
* - Use `server` if you want to run the application server only.
|
||||
* Configure the application's worker mode. Default is `shared`.
|
||||
*
|
||||
* - Use `shared` to run the application in a single process.
|
||||
* - Use `worker` to run the a worker process only.
|
||||
* - Use `server` to run the application server only.
|
||||
*
|
||||
* Learn more in [this guide](https://docs.medusajs.com/development/medusa-worker).
|
||||
*
|
||||
* @example
|
||||
* ```js title="medusa-config.js"
|
||||
|
||||
Reference in New Issue
Block a user