Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
@@ -2,7 +2,11 @@ import { Queue, Worker, type JobsOptions, type ConnectionOptions } from "bullmq"
|
||||
import { Prisma } from "@prisma/client";
|
||||
import { prisma } from "../utils/prisma";
|
||||
|
||||
export const OUTBOUND_DELIVERY_QUEUE_NAME = "omni-outbound";
|
||||
export const OUTBOUND_DELIVERY_QUEUE_NAME = (
|
||||
process.env.SENDER_FLOW_QUEUE_NAME ||
|
||||
process.env.OUTBOUND_DELIVERY_QUEUE_NAME ||
|
||||
"sender.flow"
|
||||
).trim();
|
||||
|
||||
export type OutboundDeliveryJob = {
|
||||
omniMessageId: string;
|
||||
|
||||
Reference in New Issue
Block a user