require("dotenv").config()
const { startDealClassificationWorker } = require("./dealClassification.worker")
const { queue } = require("../jobs/dealClassification.queue")

startDealClassificationWorker()
console.log("Worker started: deal-classification")

setInterval(async () => {
  const counts = await queue.getJobCounts("waiting", "active", "completed", "failed", "delayed", "paused")
  console.log("queue counts:", counts)
}, 3000)
