Skip to content

Commit

Permalink
Remove connection debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Maelstromeous committed Apr 28, 2023
1 parent 83c1976 commit 0a19908
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/modules/rabbitmq/queues/ApiQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ export class ApiQueue extends RabbitMQQueue implements PS2AlertsQueueInterface {
},
};

console.log(`${this.queueName} queueOptions`, queueOptions);
console.log(`${this.queueName} exchange`, this.exchange);

ApiQueue.classLogger.debug(`Connecting to queue ${this.queueName}...`);

await this.createChannel({
json: true,
// eslint-disable-next-line @typescript-eslint/no-misused-promises
Expand All @@ -55,8 +50,6 @@ export class ApiQueue extends RabbitMQQueue implements PS2AlertsQueueInterface {
await channel.bindQueue(this.queueName, this.exchange, '#');
},
});

ApiQueue.classLogger.debug(`Connected to queue ${this.queueName}!`);
}

public async send(msg: ApiMQMessage | ApiMQGlobalAggregateMessage): Promise<boolean | undefined> {
Expand Down

0 comments on commit 0a19908

Please sign in to comment.