Skip to content

Commit

Permalink
fixup! BC-6338 - change start app
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenWaysDP committed Feb 5, 2024
1 parent e2ca2ff commit 92c2c5b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 92c2c5b

Please sign in to comment.