Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Nick: re-enabling queue events

Nicolasec4062b9e69c
diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts
index bfcc7aca5..ac0b085e1 100644
--- a/apps/api/src/services/queue-worker.ts
+++ b/apps/api/src/services/queue-worker.ts
@@ -1673,7 +1673,7 @@ app.listen(workerPort, () => {
}
}
- const scrapeQueueEvents = new QueueEvents(getScrapeQueue().name, { connection: redisConnection });
+ const scrapeQueueEvents = new QueueEvents(scrapeQueueName, { connection: redisConnection });
scrapeQueueEvents.on("failed", failedListener);
const conn = createRedisConnection();