Skip to content

Commit a8eef36

Browse files
committed
chore(docs): document correct property names for filtering on jobs in queue workers
1 parent 0df3773 commit a8eef36

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/features/background-jobs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ the second argument of this function for all available options and their default
6262

6363
Some specific options include:
6464

65-
- `includeNames` / `excludeNames`: let this queue worker only pick up specific jobs. This
66-
allows you to scale queue workers independently.
65+
- `includedNames` / `excludedNames`: let this queue worker only pick up specific jobs.
66+
This allows you to scale queue workers independently.
6767
- `deleteJobOnCompletion`: by default, the queue keeps history of the processed jobs. For
6868
high-volume queues, it is generally considered more efficient to delete jobs on
6969
completion. If you want to keep a history of jobs for a few days, you can use `false`
7070
and instead use [`jobQueueCleanup`](#jobqueuecleanup).
7171
- `unsafeIngoreSorting`: Ignore priority and scheduled based sorting. This is useful in
72-
combination with `includeNames` to create a higher throughput queue, with no guarantees
72+
combination with `includedNames` to create a higher throughput queue, with no guarantees
7373
of the order in which jobs are picked up.
7474

7575
### queueWorkerAddJob

0 commit comments

Comments
 (0)