feat(core): Make executions pruning interval configurable (#7439)
This commit is contained in:
@@ -88,7 +88,7 @@ export class ExecutionRepository extends Repository<ExecutionEntity> {
|
||||
|
||||
private rates: Record<string, number> = {
|
||||
softDeletion: 1 * TIME.HOUR,
|
||||
hardDeletion: 15 * TIME.MINUTE,
|
||||
hardDeletion: config.getEnv('executions.pruneDataInterval') * TIME.MINUTE,
|
||||
};
|
||||
|
||||
private isMainInstance = config.get('generic.instanceType') === 'main';
|
||||
|
||||
Reference in New Issue
Block a user