Skip to content

Commit

Permalink
GitBook: [#105] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
manast authored and gitbook-bot committed Mar 24, 2022
1 parent 04d0992 commit a27a9a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/gitbook/bullmq-pro/groups/concurrency.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You enable the concurrency setting like this:
import { WorkerPro } from '@taskforcesh/bullmq-pro';

const worker = new WorkerPro('myQueue', processFn, {
groups: {
group: {
concurrency: 3 // Limit to max 3 parallel jobs per group
},
concurrency: 100
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/bullmq-pro/groups/rate-limiting.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The rate limit is configured on the worker instances:
import { WorkerPro } from '@taskforcesh/bullmq-pro';

const worker = new WorkerPro('myQueue', processFn, {
groups: {
group: {
limit: {
max: 100, // Limit to 100 jobs per second per group
duration 1000,
Expand Down

0 comments on commit a27a9a3

Please sign in to comment.