From 8fa8b63cf357a2a7a76b0ade50abba721b4828a0 Mon Sep 17 00:00:00 2001 From: Rogger Valverde Date: Sat, 4 Nov 2023 09:56:42 -0700 Subject: [PATCH] docs(job-ids): clarify separators (#2251) ref #2249 --- docs/gitbook/guide/jobs/job-ids.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/gitbook/guide/jobs/job-ids.md b/docs/gitbook/guide/jobs/job-ids.md index d283036253..275930de72 100644 --- a/docs/gitbook/guide/jobs/job-ids.md +++ b/docs/gitbook/guide/jobs/job-ids.md @@ -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)