@azteam/rabbitmq-async 1.0.221 → 1.0.223
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.223",
|
|
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.60",
|
|
20
20
|
"amqplib": "0.8.0",
|
|
21
21
|
"fs-extra": "10.1.0",
|
|
22
22
|
"lodash": "4.17.21"
|
package/src/RabbitMQAsync.js
CHANGED
|
@@ -139,7 +139,7 @@ class RabbitMQAsync {
|
|
|
139
139
|
data.retry -= 1;
|
|
140
140
|
if (data.retry > 0) {
|
|
141
141
|
await messageQueue.send(queueName, data);
|
|
142
|
-
} else if (data.notCheck) {
|
|
142
|
+
} else if (!data.notCheck) {
|
|
143
143
|
await messageQueue.send(messageQueue.parsePrefix(messageQueue.retryKey), {
|
|
144
144
|
queueName,
|
|
145
145
|
data,
|