ac-bootstrap-bull 3.0.1 → 3.0.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/CHANGELOG.md +14 -0
- package/index.js +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
|
|
2
|
+
## [3.0.2](https://github.com/admiralcloud/ac-bootstrap-bull/compare/v3.0.1..v3.0.2) (2025-05-14 11:43:39)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fix
|
|
6
|
+
|
|
7
|
+
* **App:** Postprocessing: Throw error only if real error | MP | [35b831acbb299adadaa599d829b39494da6b1b44](https://github.com/admiralcloud/ac-bootstrap-bull/commit/35b831acbb299adadaa599d829b39494da6b1b44)
|
|
8
|
+
If code 423 just log but do not throw an error
|
|
9
|
+
Related issues:
|
|
10
|
+
### Chores
|
|
11
|
+
|
|
12
|
+
* **App:** Updated packages | MP | [0657c0c1b8e2e8842b14824768e690b173a8d46e](https://github.com/admiralcloud/ac-bootstrap-bull/commit/0657c0c1b8e2e8842b14824768e690b173a8d46e)
|
|
13
|
+
Updated packages
|
|
14
|
+
Related issues:
|
|
15
|
+
|
|
2
16
|
## [3.0.1](https://github.com/admiralcloud/ac-bootstrap-bull/compare/v3.0.0..v3.0.1) (2025-05-12 07:53:21)
|
|
3
17
|
|
|
4
18
|
|
package/index.js
CHANGED
|
@@ -3,6 +3,7 @@ const _ = require('lodash')
|
|
|
3
3
|
const Redis = require('ioredis')
|
|
4
4
|
const redisLock = require('ac-redislock')
|
|
5
5
|
const { v4: uuidV4 } = require('uuid')
|
|
6
|
+
const { setTimeout: sleep } = require('node:timers/promises')
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
module.exports = function(acapi) {
|
|
@@ -264,8 +265,8 @@ module.exports = function(acapi) {
|
|
|
264
265
|
}
|
|
265
266
|
else {
|
|
266
267
|
acapi.log.error('%s | %s | %s | # %s | Failed %j', functionName, functionIdentifier, queueName, jobId, e?.message)
|
|
268
|
+
throw e
|
|
267
269
|
}
|
|
268
|
-
throw e
|
|
269
270
|
}
|
|
270
271
|
}
|
|
271
272
|
const prepareProcessing = postProcessing
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ac-bootstrap-bull",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Bull helper",
|
|
5
5
|
"repository": "admiralcloud/ac-bootstrap-bull",
|
|
6
6
|
"author": "Mark Poepping <mark.poepping@admiralcloud.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"ac-redislock": "^5.0.
|
|
9
|
+
"ac-redislock": "^5.0.1",
|
|
10
10
|
"bull": "^4.16.5",
|
|
11
11
|
"ioredis": "^5.6.1",
|
|
12
12
|
"lodash": "^4.17.21"
|