chore: 1.20.10

pull/68/head
xiaojunnuo 2024-05-30 14:26:44 +08:00
parent 24aa416740
commit 29f923537e
1 changed files with 6 additions and 1 deletions

View File

@ -113,7 +113,12 @@ export class PipelineService extends BaseService<PipelineEntity> {
for (const entity of list) { for (const entity of list) {
const pipeline = JSON.parse(entity.content ?? '{}'); const pipeline = JSON.parse(entity.content ?? '{}');
this.registerTriggers(pipeline); try{
this.registerTriggers(pipeline);
}catch (e) {
logger.error('加载定时trigger失败', e);
}
} }
} }
logger.info('定时器数量:', this.cron.getListSize()); logger.info('定时器数量:', this.cron.getListSize());