mirror of
https://github.com/certd/certd.git
synced 2026-05-16 05:07:32 +08:00
fix: 修复在相同的cron时偶尔无法触发定时任务的bug
This commit is contained in:
@@ -35,7 +35,11 @@ export class AutoInitSite {
|
||||
|
||||
// 授权许可
|
||||
const licenseInfo: SysLicenseInfo = await this.sysSettingsService.getSetting(SysLicenseInfo);
|
||||
await verify(licenseInfo.license);
|
||||
const req = {
|
||||
subjectId: installInfo.siteId,
|
||||
license: licenseInfo.license,
|
||||
};
|
||||
await verify(req);
|
||||
|
||||
logger.info('初始化站点完成');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user