fix(queue): use BullMQ-safe outbound job ids

This commit is contained in:
Ruslan Bakiev
2026-02-23 09:10:06 +07:00
parent f1fb2fbfa6
commit 1b3b215bff
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ export async function enqueueOutboundDelivery(input: OutboundDeliveryJob, opts?:
});
return q.add("deliver", { ...input, endpoint }, {
jobId: `omni:${input.omniMessageId}`,
jobId: `omni-${input.omniMessageId}`,
attempts: 12,
backoff: { type: "exponential", delay: 1000 },
...opts,