mirror of https://github.com/certd/certd
chore: 1.20.10
parent
24aa416740
commit
29f923537e
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue