@pioneer-platform/redis-queue 8.12.0 → 8.12.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/.turbo/turbo-build.log +2 -1
- package/CHANGELOG.md +12 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mtsc[0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @pioneer-platform/redis-queue
|
|
2
2
|
|
|
3
|
+
## 8.12.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore: fix: move @types/pdfkit to dependencies for Docker --production build
|
|
8
|
+
|
|
9
|
+
## 8.12.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix: move @types/pdfkit to dependencies for Docker --production build
|
|
14
|
+
|
|
3
15
|
## 8.12.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/lib/index.js
CHANGED
|
@@ -47,7 +47,7 @@ var log = require('@pioneer-platform/loggerdog')();
|
|
|
47
47
|
// IMPORTANT: Use dedicated redisQueue client for blocking operations (brpop)
|
|
48
48
|
// Using the main redis client for brpop blocks ALL operations on that connection
|
|
49
49
|
var _a = require('@pioneer-platform/default-redis'), subscriber = _a.subscriber, publisher = _a.publisher, redis = _a.redis, redisQueue = _a.redisQueue;
|
|
50
|
-
var QUEUE_INTERVAL_TIME =
|
|
50
|
+
var QUEUE_INTERVAL_TIME = 1; // Reduced from 10s to 1s for faster polling
|
|
51
51
|
var QUEUE_NAME;
|
|
52
52
|
var QUEUE_INFO = {};
|
|
53
53
|
var WORK_ADDED = {};
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -12,7 +12,7 @@ const log = require('@pioneer-platform/loggerdog')()
|
|
|
12
12
|
// Using the main redis client for brpop blocks ALL operations on that connection
|
|
13
13
|
const { subscriber, publisher, redis, redisQueue } = require('@pioneer-platform/default-redis')
|
|
14
14
|
|
|
15
|
-
const QUEUE_INTERVAL_TIME:number =
|
|
15
|
+
const QUEUE_INTERVAL_TIME:number = 1 // Reduced from 10s to 1s for faster polling
|
|
16
16
|
let QUEUE_NAME:string
|
|
17
17
|
|
|
18
18
|
let QUEUE_INFO:any = {}
|