Skip to content

Commit cce160d

Browse files
docs: fix deduplicated event parameter descriptions (#3747) ref #3523
1 parent d3ffa2d commit cce160d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/gitbook/guide/jobs/deduplication.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Any manual deletion will disable the deduplication. For example, when calling _j
8383

8484
## The Deduplicated Event
8585

86-
The **deduplicated** event is emitted whenever a job is ignored due to deduplication in either Simple Mode or Throttle Mode. This event allows you to monitor deduplication activity and take action if needed, such as logging the occurrence or notifying a user that their request was ignored.
86+
The **deduplicated** event is emitted whenever a job is deduplicated (ignored or replaced) due to deduplication in Simple Mode, Throttle Mode, or Debounce Mode. This event allows you to monitor deduplication activity and take action if needed, such as logging the occurrence or notifying a user that their request was ignored.
8787

8888
### Listening for the Deduplicated Event
8989

@@ -105,9 +105,9 @@ queueEvents.on(
105105

106106
In this example:
107107

108-
- `jobId`: The Id of the existing job that triggered the deduplication.
109-
- `deduplicationId`: The deduplication Id that caused the job to be ignored.
110-
- `deduplicatedJobId`: The Id of the job that was ignored.
108+
- `jobId`: The Id of the job that will be retained in the queue.
109+
- `deduplicationId`: The deduplication Id that caused the deduplication.
110+
- `deduplicatedJobId`: The Id of the job that was deduplicated (ignored or replaced).
111111

112112
## Get Deduplication Job Id
113113

0 commit comments

Comments
 (0)