@autofleet/rabbit 3.2.26-beta.201 → 3.2.26-beta.202
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
|
@@ -246,7 +246,7 @@ class RabbitMq {
|
|
|
246
246
|
if (!connection) {
|
|
247
247
|
throw new Error(`rabbit: couldnt get connection for new channel ${name}`);
|
|
248
248
|
}
|
|
249
|
-
const channel = connection.createChannel({ ...options });
|
|
249
|
+
const channel = connection.createChannel({ ...options, confirm: false });
|
|
250
250
|
(0, events_1.once)(channel, 'close').then((args) => {
|
|
251
251
|
logger_1.default.error(`rabbit: channel ${name} closed`);
|
|
252
252
|
onClose?.(args);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -387,7 +387,7 @@ class RabbitMq implements IAfRabbitMq {
|
|
|
387
387
|
if (!connection) {
|
|
388
388
|
throw new Error(`rabbit: couldnt get connection for new channel ${name}`);
|
|
389
389
|
}
|
|
390
|
-
const channel = connection.createChannel({ ...options });
|
|
390
|
+
const channel = connection.createChannel({ ...options, confirm: false });
|
|
391
391
|
once(channel, 'close').then((args) => {
|
|
392
392
|
logger.error(`rabbit: channel ${name} closed`);
|
|
393
393
|
onClose?.(args);
|