import type { ConnectionOptions } from "bullmq"; const { REDIS_URL } = process.env; if (!REDIS_URL) { throw new Error("Missing REDIS_URL environment variable"); } export const redisConfig: ConnectionOptions = { url: REDIS_URL, };