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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user