mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-19 03:42:23 -06:00
ajustes rabbitmq
This commit is contained in:
@@ -68,7 +68,7 @@ export const initQueues = (instanceName: string, events: string[]) => {
|
||||
|
||||
const receivedEvents = events.map(parseEvtName);
|
||||
if (rabbitConfig.MODE === 'isolated') {
|
||||
exchangeName = instanceName;
|
||||
exchangeName = instanceName ?? 'evolution_exchange';
|
||||
|
||||
receivedEvents.forEach((event) => {
|
||||
amqp.assertExchange(exchangeName, 'topic', {
|
||||
|
||||
Reference in New Issue
Block a user