Skip to content

Commit

Permalink
docs(job-ids): clarify separators (#2251) ref #2249
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf authored Nov 4, 2023
1 parent d4cb929 commit 8fa8b63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/gitbook/guide/jobs/job-ids.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ await myQueue.add(
);
```

{% hint style="danger" %}
Custom job ids must not contains **:** separator as it will be translated in 2 different values, we are also following Redis naming convention. So if you need to add a separator, use a different value, for example **-**, **\_**.
{% endhint %}

## Read more:

- 💡 [Duplicated Event Reference](https://api.docs.bullmq.io/interfaces/v4.QueueEventsListener.html#duplicated)

0 comments on commit 8fa8b63

Please sign in to comment.