chore: 1.20.11

This commit is contained in:
xiaojunnuo
2024-05-30 14:41:29 +08:00
parent ab4a0aea70
commit aaea6aa1f3
@@ -131,7 +131,6 @@ export class PipelineService extends BaseService<PipelineEntity> {
for (const trigger of pipeline.triggers) {
this.registerCron(pipeline.id, trigger);
}
logger.info('当前定时器数量:', this.cron.getListSize());
}
async trigger(id) {
@@ -183,6 +182,7 @@ export class PipelineService extends BaseService<PipelineEntity> {
await this.run(pipelineId, trigger.id);
},
});
logger.info('当前定时器数量:', this.cron.getListSize());
}
async run(id: number, triggerId: string) {