FeatureToggle: for storing sessions in a Remote Cache

Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
This commit is contained in:
gamab 2022-12-06 15:06:12 +01:00
parent 201c7e123d
commit b8a8c15148
No known key found for this signature in database
GPG Key ID: 22AF9A2720C0BFFA
3 changed files with 9 additions and 0 deletions

View File

@ -67,4 +67,5 @@ export interface FeatureToggles {
redshiftAsyncQueryDataSupport?: boolean;
athenaAsyncQueryDataSupport?: boolean;
increaseInMemDatabaseQueryCache?: boolean;
sessionRemoteCache?: boolean;
}

View File

@ -283,5 +283,10 @@ var (
Name: "increaseInMemDatabaseQueryCache",
Description: "Enable more in memory caching for database queries",
},
{
Name: "sessionRemoteCache",
Description: "Enable using remote cache for users and sessions",
State: FeatureStateAlpha,
},
}
)

View File

@ -210,4 +210,7 @@ const (
// FlagIncreaseInMemDatabaseQueryCache
// Enable more in memory caching for database queries
FlagIncreaseInMemDatabaseQueryCache = "increaseInMemDatabaseQueryCache"
// FlagSessionRemoteCache
// Enable using remote cacse for users and seFlagSessionRemoteCache = "sessionRemoteCache"
)