chore: 1.20.11

pull/68/head
xiaojunnuo 2024-05-30 14:41:29 +08:00
parent ab4a0aea70
commit aaea6aa1f3
1 changed files with 18 additions and 18 deletions

View File

@ -131,7 +131,6 @@ export class PipelineService extends BaseService<PipelineEntity> {
for (const trigger of pipeline.triggers) { for (const trigger of pipeline.triggers) {
this.registerCron(pipeline.id, trigger); this.registerCron(pipeline.id, trigger);
} }
logger.info('当前定时器数量:', this.cron.getListSize());
} }
async trigger(id) { async trigger(id) {
@ -183,6 +182,7 @@ export class PipelineService extends BaseService<PipelineEntity> {
await this.run(pipelineId, trigger.id); await this.run(pipelineId, trigger.id);
}, },
}); });
logger.info('当前定时器数量:', this.cron.getListSize());
} }
async run(id: number, triggerId: string) { async run(id: number, triggerId: string) {