@autofleet/rabbit 3.2.26-beta.1 → 3.2.26-beta.2
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 +2 -2
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -511,7 +511,7 @@ class RabbitMq {
|
|
|
511
511
|
const assertExchange = await (0, utils_1.assertExchangeFanout)(c, exchange);
|
|
512
512
|
await c.assertQueue(queue);
|
|
513
513
|
this.exchanges[exchange] = assertExchange;
|
|
514
|
-
await c.prefetch(limit,
|
|
514
|
+
await c.prefetch(limit, false);
|
|
515
515
|
return Promise.all([
|
|
516
516
|
c.bindQueue(queue, exchange, ''),
|
|
517
517
|
this.consume(queue, callback, options),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autofleet/rabbit",
|
|
3
|
-
"version": "3.2.26-beta.
|
|
3
|
+
"version": "3.2.26-beta.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dev": "nodemon"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@autofleet/zehut": "^3.
|
|
21
|
+
"@autofleet/zehut": "^3.1.2",
|
|
22
22
|
"amqp-connection-manager": "4.1.9",
|
|
23
23
|
"amqplib": "0.10.3",
|
|
24
24
|
"bluebird": "^3.7.2",
|
package/src/index.ts
CHANGED
|
@@ -700,7 +700,7 @@ class RabbitMq implements IAfRabbitMq {
|
|
|
700
700
|
const assertExchange = await assertExchangeFanout(c, exchange);
|
|
701
701
|
await c.assertQueue(queue);
|
|
702
702
|
this.exchanges[exchange] = assertExchange;
|
|
703
|
-
await c.prefetch(limit,
|
|
703
|
+
await c.prefetch(limit, false);
|
|
704
704
|
return Promise.all([
|
|
705
705
|
c.bindQueue(queue, exchange, ''),
|
|
706
706
|
this.consume(
|