mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-28 19:06:12 +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,
|
||||
"googleAuthEnabled": false,
|
||||
"inMemoryScheduledChangeRequests": false,
|
||||
"incomingWebhooks": false,
|
||||
"increaseUnleashWidth": false,
|
||||
"maintenanceMode": false,
|
||||
|
@ -47,6 +47,7 @@ export type IFlagKey =
|
||||
| 'feedbackComments'
|
||||
| 'createdByUserIdDataMigration'
|
||||
| 'showInactiveUsers'
|
||||
| 'inMemoryScheduledChangeRequests'
|
||||
| 'useMemoizedActiveTokens';
|
||||
|
||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||
@ -232,6 +233,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_MEMOIZED_ACTIVE_TOKENS,
|
||||
false,
|
||||
),
|
||||
inMemoryScheduledChangeRequests: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_IN_MEMORY_SCHEDULED_CHANGE_REQUESTS,
|
||||
false,
|
||||
),
|
||||
};
|
||||
|
||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||
|
Loading…
Reference in New Issue
Block a user