feat: Workflow History pruning and prune time settings (#7343)

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Val
2023-10-04 13:57:21 +01:00
committed by GitHub
parent 6d3d1789db
commit 0adc533719
13 changed files with 401 additions and 2 deletions

View File

@@ -244,6 +244,12 @@ export class License {
return this.getFeatureValue(LICENSE_QUOTAS.VARIABLES_LIMIT) ?? UNLIMITED_LICENSE_QUOTA;
}
getWorkflowHistoryPruneLimit() {
return (
this.getFeatureValue(LICENSE_QUOTAS.WORKFLOW_HISTORY_PRUNE_LIMIT) ?? UNLIMITED_LICENSE_QUOTA
);
}
getPlanName(): string {
return this.getFeatureValue('planName') ?? 'Community';
}