1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-31 13:47:02 +02:00

chore: remove flag removeInactiveApplications (#10075)

This commit is contained in:
Mateusz Kwasniewski 2025-06-03 13:22:11 +02:00 committed by GitHub
parent 280c9c3f64
commit 68660e1e1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 9 deletions

View File

@ -331,10 +331,7 @@ export default class ClientInstanceService {
}
async removeInactiveApplications(): Promise<number> {
if (this.flagResolver.isEnabled('removeInactiveApplications')) {
return this.clientApplicationsStore.removeInactiveApplications();
}
return 0;
return this.clientApplicationsStore.removeInactiveApplications();
}
async getOutdatedSdks(): Promise<OutdatedSdksSchema['sdks']> {

View File

@ -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,