refactor chat delivery to graphql + hatchet services
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
import { startTelegramSendWorker } from "../queues/telegramSend";
|
||||
|
||||
export default defineNitroPlugin(() => {
|
||||
// Disabled by default. If you need background processing, wire it explicitly.
|
||||
if (process.env.RUN_QUEUE_WORKER !== "1") return;
|
||||
|
||||
startTelegramSendWorker();
|
||||
// Legacy BullMQ worker was removed.
|
||||
// Delivery orchestration now runs in hatchet/telegram_worker service.
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user