feat(medusa): Allow configuring of staged job polling batch size (#6333)

This commit is contained in:
Oli Juhl
2024-02-07 10:35:49 +01:00
committed by GitHub
parent 44470bf8c5
commit 82c728bec7
3 changed files with 24 additions and 2 deletions
@@ -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
}
/**