diff --git a/src/lib/features/metrics/instance/instance-service.ts b/src/lib/features/metrics/instance/instance-service.ts index cad52761e3..82a8aea1a4 100644 --- a/src/lib/features/metrics/instance/instance-service.ts +++ b/src/lib/features/metrics/instance/instance-service.ts @@ -331,10 +331,7 @@ export default class ClientInstanceService { } async removeInactiveApplications(): Promise { - if (this.flagResolver.isEnabled('removeInactiveApplications')) { - return this.clientApplicationsStore.removeInactiveApplications(); - } - return 0; + return this.clientApplicationsStore.removeInactiveApplications(); } async getOutdatedSdks(): Promise { diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 2626f30691..7a9e43f30c 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -57,7 +57,6 @@ export type IFlagKey = | 'consumptionModel' | 'edgeObservability' | 'addEditStrategy' - | 'removeInactiveApplications' | 'registerFrontendClient' | 'featureLinks' | 'projectLinkTemplates' @@ -275,10 +274,6 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_ADD_EDIT_STRATEGY, false, ), - removeInactiveApplications: parseEnvVarBoolean( - process.env.UNLEASH_EXPERIMENTAL_REMOVE_INACTIVE_APPLICATIONS, - false, - ), registerFrontendClient: parseEnvVarBoolean( process.env.UNLEASH_EXPERIMENTAL_REGISTER_FRONTEND_CLIENT, false,