fix: use bullmq-safe inbound job id format
This commit is contained in:
@@ -26,7 +26,7 @@ function redisConnectionFromEnv(): ConnectionOptions {
|
|||||||
|
|
||||||
function toJobId(idempotencyKey: string) {
|
function toJobId(idempotencyKey: string) {
|
||||||
const hash = createHash("sha256").update(idempotencyKey).digest("hex");
|
const hash = createHash("sha256").update(idempotencyKey).digest("hex");
|
||||||
return `inbound:${hash}`;
|
return `inbound-${hash}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function inboundQueue() {
|
export function inboundQueue() {
|
||||||
|
|||||||
Reference in New Issue
Block a user