From 40c69fb7605e79eb66ba6d1c98a55c9944b086cf Mon Sep 17 00:00:00 2001 From: Rogger Valverde Date: Wed, 13 Sep 2023 20:52:30 -0600 Subject: [PATCH] docs(bulmq-pro): fix batch option usage (#2180) --- docs/gitbook/bullmq-pro/batches.md | 4 ++-- docs/gitbook/changelog.md | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/gitbook/bullmq-pro/batches.md b/docs/gitbook/bullmq-pro/batches.md index 10c8afae9b..797b834fa1 100644 --- a/docs/gitbook/bullmq-pro/batches.md +++ b/docs/gitbook/bullmq-pro/batches.md @@ -21,7 +21,7 @@ const worker = new WorkerPro( await doSomethingWithBatchedJob(batchedJob); } }, - { connection, batches: { size: 10 } }, + { connection, batch: { size: 10 } }, ); ``` @@ -50,7 +50,7 @@ const worker = new WorkerPro( } } }, - { connection, batches: { size: 10 } }, + { connection, batch: { size: 10 } }, ); ``` diff --git a/docs/gitbook/changelog.md b/docs/gitbook/changelog.md index 8905ccc91d..cc284ff0c7 100644 --- a/docs/gitbook/changelog.md +++ b/docs/gitbook/changelog.md @@ -6,11 +6,6 @@ * **move-to-finished:** consider addition of prioritized jobs when processing last active job ([#2176](https://github.com/taskforcesh/bullmq/issues/2176)) (python) ([4b01f35](https://github.com/taskforcesh/bullmq/commit/4b01f359c290cfc62ea74ff3ab0b43ccc6956a02)) * **remove:** change error message when job is locked (python) ([#2175](https://github.com/taskforcesh/bullmq/issues/2175)) ([2f5628f](https://github.com/taskforcesh/bullmq/commit/2f5628feffab66cdcc78abf4d7bb608bdcaa65bb)) - -### Features - -* **flow-producer:** add addBulk method (python) ([#2174](https://github.com/taskforcesh/bullmq/issues/2174)) ([c67dfb4](https://github.com/taskforcesh/bullmq/commit/c67dfb49931ee4cb96573af660e9f2316942687c)) - # [4.9.0](https://github.com/taskforcesh/bullmq/compare/v4.8.0...v4.9.0) (2023-09-05)