mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 12:22:21 -06:00
test
This commit is contained in:
@@ -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,
|
||||
});
|
||||
amqp.assertExchange(exchangeName, 'topic', {
|
||||
durable: true,
|
||||
autoDelete: false,
|
||||
});
|
||||
|
||||
receivedEvents.forEach((event) => {
|
||||
const queueName = `${instanceName}.${event}`;
|
||||
amqp.assertQueue(queueName, {
|
||||
durable: true,
|
||||
|
||||
Reference in New Issue
Block a user