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();
});

