mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-25 18:08:40 -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);
|
const receivedEvents = events.map(parseEvtName);
|
||||||
if (rabbitConfig.MODE === 'isolated') {
|
if (rabbitConfig.MODE === 'isolated') {
|
||||||
exchangeName = instanceName;
|
exchangeName = instanceName ?? 'evolution_exchange';
|
||||||
|
|
||||||
receivedEvents.forEach((event) => {
|
receivedEvents.forEach((event) => {
|
||||||
amqp.assertExchange(exchangeName, 'topic', {
|
amqp.assertExchange(exchangeName, 'topic', {
|
||||||
|
Loading…
Reference in New Issue
Block a user