@midwayjs/cron 4.0.1-beta.1 → 4.0.1

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 CHANGED
@@ -85,7 +85,7 @@ let CronFramework = class CronFramework extends core_1.BaseFramework {
85
85
  },
86
86
  },
87
87
  }, async () => {
88
- ctx.logger.info(`start job ${name.name}`);
88
+ ctx.logger.debug(`start job ${name.name}`);
89
89
  const isPassed = await self.app
90
90
  .getFramework()
91
91
  .runGuard(ctx, name, 'onTick');
@@ -98,7 +98,7 @@ let CronFramework = class CronFramework extends core_1.BaseFramework {
98
98
  });
99
99
  try {
100
100
  const result = await Promise.resolve(await fn(ctx));
101
- ctx.logger.info(`complete job ${name.name}`);
101
+ ctx.logger.debug(`complete job ${name.name}`);
102
102
  await service.onComplete?.(result);
103
103
  return result;
104
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/cron",
3
- "version": "4.0.1-beta.1",
3
+ "version": "4.0.1",
4
4
  "description": "Midway Component for Cron",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
@@ -29,8 +29,8 @@
29
29
  "cron": "3.5.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@midwayjs/core": "^4.0.1-beta.1",
33
- "@midwayjs/mock": "^4.0.1-beta.1"
32
+ "@midwayjs/core": "^4.0.1",
33
+ "@midwayjs/mock": "^4.0.1"
34
34
  },
35
- "gitHead": "539d5305896972d43fda36d0c9758e77d3b5adbe"
35
+ "gitHead": "fcea8a9fcbfa39a4799ac19d072812c1578dcf8e"
36
36
  }