feat: 支持ECC类型

This commit is contained in:
xiaojunnuo
2024-08-25 11:56:15 +08:00
parent d4092e4929
commit a7424e02f5
8 changed files with 124 additions and 16 deletions
@@ -63,7 +63,7 @@ export class HistoryService extends BaseService<HistoryEntity> {
return id;
}
private async clear(pipelineId: number, keepCount = 10) {
private async clear(pipelineId: number, keepCount = 20) {
const count = await this.repository.count({
where: {
pipelineId,