@midwayjs/bullmq 4.0.1-beta.1 → 4.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/dist/framework.js +2 -2
- package/package.json +4 -4
package/dist/framework.js
CHANGED
|
@@ -250,7 +250,7 @@ let BullMQFramework = class BullMQFramework extends core_1.BaseFramework {
|
|
|
250
250
|
},
|
|
251
251
|
},
|
|
252
252
|
}, async () => {
|
|
253
|
-
ctx.logger.
|
|
253
|
+
ctx.logger.debug(`start process job ${job.id} from ${processor.name}`);
|
|
254
254
|
const isPassed = await this.app
|
|
255
255
|
.getFramework()
|
|
256
256
|
.runGuard(ctx, processor, 'execute');
|
|
@@ -262,7 +262,7 @@ let BullMQFramework = class BullMQFramework extends core_1.BaseFramework {
|
|
|
262
262
|
return await core_1.Utils.toAsyncFunction(service.execute.bind(service))(job.data, job, token);
|
|
263
263
|
});
|
|
264
264
|
const result = await Promise.resolve(await fn(ctx));
|
|
265
|
-
ctx.logger.
|
|
265
|
+
ctx.logger.debug(`complete process job ${job.id} from ${processor.name}`);
|
|
266
266
|
return result;
|
|
267
267
|
});
|
|
268
268
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/bullmq",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "midway component for BullMQ",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
],
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@midwayjs/core": "^4.0.
|
|
28
|
-
"@midwayjs/mock": "^4.0.
|
|
27
|
+
"@midwayjs/core": "^4.0.2",
|
|
28
|
+
"@midwayjs/mock": "^4.0.2"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"bullmq": "5.71.0"
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"node": ">=20"
|
|
35
35
|
},
|
|
36
36
|
"repository": "https://github.com/midwayjs/midway.git",
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "3a141047fcf2857cdfba761f79210d1b3327ad47"
|
|
38
38
|
}
|