DB-backed workspace + LangGraph agent
This commit is contained in:
9
Frontend/server/plugins/queues.ts
Normal file
9
Frontend/server/plugins/queues.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { startTelegramSendWorker } from "../queues/telegramSend";
|
||||
|
||||
export default defineNitroPlugin(() => {
|
||||
// Keep API nodes and worker nodes separate: start only when explicitly enabled.
|
||||
if (process.env.RUN_QUEUE_WORKER !== "1") return;
|
||||
|
||||
startTelegramSendWorker();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user