@autofleet/rabbit 3.2.25-beta.0 → 3.2.25-beta.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -230,7 +230,7 @@ class RabbitMq {
|
|
|
230
230
|
logger_1.default.error(`rabbit: error on get connection for new channel ${name} `, { e });
|
|
231
231
|
throw e;
|
|
232
232
|
}
|
|
233
|
-
const channel = connection.createChannel({ ...options });
|
|
233
|
+
const channel = connection.createChannel({ ...options, confirm: false });
|
|
234
234
|
(0, events_1.once)(channel, 'close').then((args) => {
|
|
235
235
|
logger_1.default.error(`rabbit: channel ${name} closed`);
|
|
236
236
|
onClose?.(args);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -364,7 +364,7 @@ class RabbitMq implements IAfRabbitMq {
|
|
|
364
364
|
logger.error(`rabbit: error on get connection for new channel ${name} `, { e });
|
|
365
365
|
throw e;
|
|
366
366
|
}
|
|
367
|
-
const channel = connection.createChannel({ ...options });
|
|
367
|
+
const channel = connection.createChannel({ ...options, confirm: false });
|
|
368
368
|
once(channel, 'close').then((args) => {
|
|
369
369
|
logger.error(`rabbit: channel ${name} closed`);
|
|
370
370
|
onClose?.(args);
|