Replies: 3 comments 5 replies
-
|
After some debugging and reading more documentation, Confused as to why the cache is not invalidated. When I change defaultVariant I expect the application to behave differently for each new evaluation. |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
Sorry - will try to get this merged today! Thanks for this fix. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Lovely, thanks for letting me know. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
TLDR; client.getBooleanValue(...) always returns the same value even after changing flagd.json.
Is there a 'maximum cache duration' that I can configure or am doing something wrong?
What I'm doing:
I'm running flagd in docker, and I'm creating an OpenFeaturesAPI instance as a spring bean my kotlin application like this:
My (spring boot) application uses this:
When I run
api.client.getBooleanValue('show-welcome-banner', false)the grpc lookup works, but when I changedefaultVariantin flagd.json I keep getting the first value back until I restart my application.What I've tried:
What I haven't tried yet:
Beta Was this translation helpful? Give feedback.
All reactions