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

Health check was connecting to REDIS_URL instead of REDIS_QUEUE_URL
where workers are actually running.
This commit is contained in:
Félix Malfait
2025-10-19 15:39:50 +02:00
committed by GitHub
parent 3bec43696f
commit 18de5c6574
@@ -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 {