Merge branch 'EvolutionAPI:main' into main

This commit is contained in:
Unilógica
2023-08-18 18:02:53 -03:00
committed by GitHub
8 changed files with 162 additions and 27 deletions

View File

@@ -24,7 +24,11 @@ export const initAMQP = () => {
const exchangeName = 'evolution_exchange';
channel.assertExchange(exchangeName, 'topic', { durable: false });
channel.assertExchange(exchangeName, 'topic', {
durable: true,
autoDelete: false,
});
amqpChannel = channel;
logger.info('AMQP initialized');