You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reduce traffic to DynamoDB, there is an optional in-memory cache that retains the last known data for a configurable amount of time. This is on by default; to turn it off (and guarantee that the latest feature flag data will always be retrieved from DynamoDB for every flag evaluation), configure the store as follows:
64
64
65
65
DynamoDbFeatureStoreBuilder store = DynamoDbComponents.dynamoDbFeatureStore("my-table-name")
66
-
.caching(FeatureStoreCaching.disabled());
66
+
.caching(FeatureStoreCacheConfig.disabled());
67
67
68
68
For other ways to control the behavior of the cache, see `DynamoDbFeatureStoreBuilder.caching()`.
0 commit comments