1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-04 13:48:56 +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> { async removeInactiveApplications(): Promise<number> {
if (this.flagResolver.isEnabled('removeInactiveApplications')) { return this.clientApplicationsStore.removeInactiveApplications();
return this.clientApplicationsStore.removeInactiveApplications();
}
return 0;
} }
async getOutdatedSdks(): Promise<OutdatedSdksSchema['sdks']> { async getOutdatedSdks(): Promise<OutdatedSdksSchema['sdks']> {

View File

@ -57,7 +57,6 @@ export type IFlagKey =
| 'consumptionModel' | 'consumptionModel'
| 'edgeObservability' | 'edgeObservability'
| 'addEditStrategy' | 'addEditStrategy'
| 'removeInactiveApplications'
| 'registerFrontendClient' | 'registerFrontendClient'
| 'featureLinks' | 'featureLinks'
| 'projectLinkTemplates' | 'projectLinkTemplates'
@ -275,10 +274,6 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_ADD_EDIT_STRATEGY, process.env.UNLEASH_EXPERIMENTAL_ADD_EDIT_STRATEGY,
false, false,
), ),
removeInactiveApplications: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_REMOVE_INACTIVE_APPLICATIONS,
false,
),
registerFrontendClient: parseEnvVarBoolean( registerFrontendClient: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_REGISTER_FRONTEND_CLIENT, process.env.UNLEASH_EXPERIMENTAL_REGISTER_FRONTEND_CLIENT,
false, false,