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:
parent
280c9c3f64
commit
68660e1e1f
@ -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']> {
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user