Skip to content

Commit 6a2ab55

Browse files
committed
Modify base sdk example to force major version release
1 parent 1aea342 commit 6a2ab55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/sdk/akamai-base/example/ldClient.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ export const evaluateFlagFromCustomFeatureStore = async (
5454
const client = init({
5555
sdkKey: 'Your-launchdarkly-environment-client-id',
5656
featureStoreProvider: new MyCustomStoreProvider(),
57+
options: {
58+
cacheTtlMs: 1_000,
59+
}
5760
});
5861

5962
return client.variation(flagKey, context, defaultValue);

0 commit comments

Comments
 (0)