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