@pikku/queue-bullmq 0.12.10 → 0.12.11
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.
|
@@ -14,7 +14,7 @@ export class BullSchedulerService extends SchedulerService {
|
|
|
14
14
|
constructor(redisConnectionOptions) {
|
|
15
15
|
super();
|
|
16
16
|
this.redisConnectionOptions = redisConnectionOptions;
|
|
17
|
-
this.queue = new Queue('pikku-
|
|
17
|
+
this.queue = new Queue('pikku-mesh-rpc', {
|
|
18
18
|
connection: redisConnectionOptions,
|
|
19
19
|
});
|
|
20
20
|
this.recurringQueue = new Queue(RECURRING_QUEUE_NAME, {
|
|
@@ -40,7 +40,7 @@ export class BullSchedulerService extends SchedulerService {
|
|
|
40
40
|
session,
|
|
41
41
|
};
|
|
42
42
|
// Use add() with delay for one-off delayed execution
|
|
43
|
-
const job = await this.queue.add('pikku-
|
|
43
|
+
const job = await this.queue.add('pikku-mesh-rpc', jobData, {
|
|
44
44
|
delay: delayMs, // delay in milliseconds
|
|
45
45
|
jobId: `${rpcName}-${Date.now()}`, // Ensure uniqueness
|
|
46
46
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/queue-bullmq",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.11",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/pikkujs/pikku.git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"clean": "rm -rf dist tsconfig.tsbuildinfo"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@pikku/core": "^0.12.
|
|
25
|
+
"@pikku/core": "^0.12.146"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"bullmq": "^6.3.16",
|