Skip to content

Commit

Permalink
chore: scheduled change request cache kill switch (#6957)
Browse files Browse the repository at this point in the history
Removes the `inMemoryScheduledChangeRequests` flag and adds
`killScheduledChangeRequestCache`

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
  • Loading branch information
andreas-unleash committed Apr 30, 2024
1 parent f77f8a7 commit 979220d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lib/__snapshots__/create-config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ exports[`should create default config 1`] = `
},
"filterInvalidClientMetrics": false,
"googleAuthEnabled": false,
"inMemoryScheduledChangeRequests": false,
"killScheduledChangeRequestCache": false,
"maintenanceMode": false,
"messageBanner": {
"enabled": false,
Expand Down
6 changes: 3 additions & 3 deletions src/lib/types/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type IFlagKey =
| 'executiveDashboardUI'
| 'feedbackComments'
| 'showInactiveUsers'
| 'inMemoryScheduledChangeRequests'
| 'killScheduledChangeRequestCache'
| 'collectTrafficDataUsage'
| 'displayTrafficDataUsage'
| 'useMemoizedActiveTokens'
Expand Down Expand Up @@ -211,8 +211,8 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_MEMOIZED_ACTIVE_TOKENS,
false,
),
inMemoryScheduledChangeRequests: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_IN_MEMORY_SCHEDULED_CHANGE_REQUESTS,
killScheduledChangeRequestCache: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_KILL_SCHEDULED_CHANGE_REQUEST_CACHE,
false,
),
collectTrafficDataUsage: parseEnvVarBoolean(
Expand Down

0 comments on commit 979220d

Please sign in to comment.