mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
chore: add inMemoryScheduledChangeRequests flag (#6151)
What it says on the box Closes # [1-2030](https://linear.app/unleash/issue/1-2030/create-inmemoryscheduledchangerequests-flag) --------- Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
11bfcd605a
commit
59a736f56b
@ -114,6 +114,7 @@ exports[`should create default config 1`] = `
|
|||||||
},
|
},
|
||||||
"filterInvalidClientMetrics": false,
|
"filterInvalidClientMetrics": false,
|
||||||
"googleAuthEnabled": false,
|
"googleAuthEnabled": false,
|
||||||
|
"inMemoryScheduledChangeRequests": false,
|
||||||
"incomingWebhooks": false,
|
"incomingWebhooks": false,
|
||||||
"increaseUnleashWidth": false,
|
"increaseUnleashWidth": false,
|
||||||
"maintenanceMode": false,
|
"maintenanceMode": false,
|
||||||
|
@ -47,6 +47,7 @@ export type IFlagKey =
|
|||||||
| 'feedbackComments'
|
| 'feedbackComments'
|
||||||
| 'createdByUserIdDataMigration'
|
| 'createdByUserIdDataMigration'
|
||||||
| 'showInactiveUsers'
|
| 'showInactiveUsers'
|
||||||
|
| 'inMemoryScheduledChangeRequests'
|
||||||
| 'useMemoizedActiveTokens';
|
| 'useMemoizedActiveTokens';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
@ -232,6 +233,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_MEMOIZED_ACTIVE_TOKENS,
|
process.env.UNLEASH_EXPERIMENTAL_MEMOIZED_ACTIVE_TOKENS,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
inMemoryScheduledChangeRequests: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_IN_MEMORY_SCHEDULED_CHANGE_REQUESTS,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
Loading…
Reference in New Issue
Block a user