Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix: fix bullmq retry (#4323)

Max Deichmannfc08db08f379
diff --git a/web/src/pages/api/admin/bullmq/index.ts b/web/src/pages/api/admin/bullmq/index.ts
index b8fd97020c..7888a28998 100644
--- a/web/src/pages/api/admin/bullmq/index.ts
+++ b/web/src/pages/api/admin/bullmq/index.ts
@@ -73,7 +73,7 @@ export default async function handler(
for (const queueName of body.data.queueNames) {
const queue = getQueue(queueName as QueueName);
- const jobCount = queue?.getJobCounts("failed");
+ const jobCount = await queue?.getJobCounts("failed");
logger.info(`Retrying ${jobCount} jobs for queue ${queueName}`);
let count = 0;