mirror of https://github.com/certd/certd
chore: 1.20.11
parent
ab4a0aea70
commit
aaea6aa1f3
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue