mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
chore: 1.20.10
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user