mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
test
This commit is contained in:
parent
55811a39a5
commit
826e818802
@ -73,12 +73,12 @@ export const initQueues = (instanceName: string, events: string[]) => {
|
||||
if (rabbitMode === 'isolated') {
|
||||
exchangeName = instanceName ?? 'evolution_exchange';
|
||||
|
||||
receivedEvents.forEach((event) => {
|
||||
amqp.assertExchange(exchangeName, 'topic', {
|
||||
durable: true,
|
||||
autoDelete: false,
|
||||
});
|
||||
|
||||
receivedEvents.forEach((event) => {
|
||||
const queueName = `${instanceName}.${event}`;
|
||||
amqp.assertQueue(queueName, {
|
||||
durable: true,
|
||||
|
Loading…
Reference in New Issue
Block a user