Skip to content

The open alternative to Salesforce, designed for AI.

Fix worker health check using wrong Redis connection (#15195)

Félix Malfait18de5c657417
diff --git a/packages/twenty-server/src/engine/core-modules/health/indicators/worker.health.ts b/packages/twenty-server/src/engine/core-modules/health/indicators/worker.health.ts
index 8a5a3f5b27e..a0a32cc60aa 100644
--- a/packages/twenty-server/src/engine/core-modules/health/indicators/worker.health.ts
+++ b/packages/twenty-server/src/engine/core-modules/health/indicators/worker.health.ts
@@ -54,7 +54,7 @@ export class WorkerHealthIndicator {
pointsNeeded?: number;
},
): Promise<WorkerQueueHealth | null> {
- const redis = this.redisClient.getClient();
+ const redis = this.redisClient.getQueueClient();
const queue = new Queue(queueName, { connection: redis });
try {