From 92c2c5bd4f742e07ec5a91aad335d09803ee5465 Mon Sep 17 00:00:00 2001 From: SevenWaysDP Date: Mon, 5 Feb 2024 16:19:49 +0100 Subject: [PATCH] fixup! BC-6338 - change start app --- .../infra/healthcheck/indicators/amqp-consumer.indictor.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/server/src/infra/healthcheck/indicators/amqp-consumer.indictor.ts b/apps/server/src/infra/healthcheck/indicators/amqp-consumer.indictor.ts index 5ecd4d49f87..0c9ea1a045d 100644 --- a/apps/server/src/infra/healthcheck/indicators/amqp-consumer.indictor.ts +++ b/apps/server/src/infra/healthcheck/indicators/amqp-consumer.indictor.ts @@ -8,10 +8,9 @@ export class AmqpConsumerHealthIndicator extends HealthIndicator { this.amqpConnection = connection; } - public async isHealthy(key: string) { + public isHealthy(key: string) { const { consumerTags, channel } = this.amqpConnection; - const res = await this.amqpConnection.channel.checkQueue(key); - console.log('CHECK_QUEUE', res); + console.log('CHANNEL', channel); console.log('CONSUMER_TAGS', consumerTags);