mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 17:38:40 -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') {
|
if (rabbitMode === 'isolated') {
|
||||||
exchangeName = instanceName ?? 'evolution_exchange';
|
exchangeName = instanceName ?? 'evolution_exchange';
|
||||||
|
|
||||||
receivedEvents.forEach((event) => {
|
|
||||||
amqp.assertExchange(exchangeName, 'topic', {
|
amqp.assertExchange(exchangeName, 'topic', {
|
||||||
durable: true,
|
durable: true,
|
||||||
autoDelete: false,
|
autoDelete: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
receivedEvents.forEach((event) => {
|
||||||
const queueName = `${instanceName}.${event}`;
|
const queueName = `${instanceName}.${event}`;
|
||||||
amqp.assertQueue(queueName, {
|
amqp.assertQueue(queueName, {
|
||||||
durable: true,
|
durable: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user