@azteam/rabbitmq-async 1.0.202 → 1.0.204
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/lib/RabbitMQAsync.js +1 -1
- package/package.json +2 -2
- package/src/RabbitMQAsync.js +1 -1
package/lib/RabbitMQAsync.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azteam/rabbitmq-async",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.204",
|
|
4
4
|
"description": "N/A",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"toda",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"prepublishOnly": "babel src --delete-dir-on-start -d lib"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@azteam/util": "1.0.
|
|
19
|
+
"@azteam/util": "1.0.51",
|
|
20
20
|
"amqplib": "0.8.0",
|
|
21
21
|
"fs-extra": "10.1.0",
|
|
22
22
|
"lodash": "4.17.21"
|
package/src/RabbitMQAsync.js
CHANGED
|
@@ -174,7 +174,7 @@ class RabbitMQAsync {
|
|
|
174
174
|
if (_.some(['IllegalOperationError: Channel closed'], (el) => _.includes(errString, el))) {
|
|
175
175
|
reject(new Error(errString));
|
|
176
176
|
} else {
|
|
177
|
-
if (callbackError) {
|
|
177
|
+
if (callbackError && data.retry === 1) {
|
|
178
178
|
callbackError(prefixQueueName, err);
|
|
179
179
|
}
|
|
180
180
|
if (data.retry <= 0) {
|