feat(medusa): Allow configuring of staged job polling batch size (#6333)
This commit is contained in:
@@ -467,6 +467,22 @@ export type ProjectConfigOptions = {
|
||||
* ```
|
||||
*/
|
||||
http_compression?: HttpCompressionOptions
|
||||
|
||||
/**
|
||||
* Configure the number of staged jobs that are polled from the database. Default is 1000.
|
||||
*
|
||||
* @example
|
||||
* ```js title="medusa-config.js"
|
||||
* module.exports = {
|
||||
* projectConfig: {
|
||||
* jobs_batch_size: 100
|
||||
* // ...
|
||||
* },
|
||||
* // ...
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
jobs_batch_size?: number
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user