@zintrust/queue-redis 0.4.50 → 0.4.64
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/BullMQRedisQueue.js
CHANGED
|
@@ -28,6 +28,7 @@ export const BullMQRedisQueue = (() => {
|
|
|
28
28
|
const queues = new Map();
|
|
29
29
|
let sharedConnection = null;
|
|
30
30
|
let lockProviderCache = null;
|
|
31
|
+
const PULL_WORKER_TOKEN = 'pull-worker';
|
|
31
32
|
const isRedisProxyEnabled = () => {
|
|
32
33
|
return Env.USE_REDIS_PROXY === true || Env.get('REDIS_PROXY_URL', '').trim() !== '';
|
|
33
34
|
};
|
|
@@ -433,9 +434,8 @@ export const BullMQRedisQueue = (() => {
|
|
|
433
434
|
const q = getQueue(queue);
|
|
434
435
|
const job = await q.getJob(id);
|
|
435
436
|
if (job) {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
Logger.debug(`BullMQ: Job ${id} acked and removed from ${queue}`);
|
|
437
|
+
await job.moveToCompleted('acknowledged', PULL_WORKER_TOKEN, false);
|
|
438
|
+
Logger.debug(`BullMQ: Job ${id} acked and completed in ${queue}`);
|
|
439
439
|
}
|
|
440
440
|
else {
|
|
441
441
|
Logger.warn(`BullMQ: ACK failed - job ${id} not found in ${queue}`);
|
package/dist/build-manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/queue-redis",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"buildDate": "2026-04-
|
|
3
|
+
"version": "0.4.64",
|
|
4
|
+
"buildDate": "2026-04-05T16:26:40.440Z",
|
|
5
5
|
"buildEnvironment": {
|
|
6
6
|
"node": "v20.20.2",
|
|
7
7
|
"platform": "linux",
|
|
8
8
|
"arch": "x64"
|
|
9
9
|
},
|
|
10
10
|
"git": {
|
|
11
|
-
"commit": "
|
|
11
|
+
"commit": "018dcfe5",
|
|
12
12
|
"branch": "master"
|
|
13
13
|
},
|
|
14
14
|
"package": {
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"sha256": "52fb0f688cd17cc7d8e8128e60df6f5eea4c803282382ac75550e6aacee7cbb0"
|
|
30
30
|
},
|
|
31
31
|
"BullMQRedisQueue.js": {
|
|
32
|
-
"size":
|
|
33
|
-
"sha256": "
|
|
32
|
+
"size": 21068,
|
|
33
|
+
"sha256": "56e7681b5a996189b2c8587729ed3caa544939368c04649046ed9c55a242f005"
|
|
34
34
|
},
|
|
35
35
|
"HttpQueueDriver.d.ts": {
|
|
36
36
|
"size": 835,
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"index.js": {
|
|
64
64
|
"size": 677,
|
|
65
|
-
"sha256": "
|
|
65
|
+
"sha256": "b904593f6f18183af388b30e2214759599d6ab08ea9e31321888e77afd6ad275"
|
|
66
66
|
},
|
|
67
67
|
"register.d.ts": {
|
|
68
68
|
"size": 169,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/queue-redis",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.64",
|
|
4
4
|
"description": "Redis queue driver for ZinTrust.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"node": ">=20.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@zintrust/core": "^0.4.
|
|
26
|
+
"@zintrust/core": "^0.4.64"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|