mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 20:12:02 -06:00
ajustes rabbitmq
This commit is contained in:
parent
b04ed66686
commit
03684a893d
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user