Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consideration about adding flag config polling back into public API #153

Open
mtempranoWalla opened this issue Jan 9, 2025 · 1 comment

Comments

@mtempranoWalla
Copy link

Hello all,

We've recently started using the experimentation SDK and while configuring it we saw that the default polling interval for when pollOnStart is set to true is hardcoded at 1 minute. This feels like one of those properties that should be modifiable through the public API, and while checking the code I saw that it used to be but it's no longer the case, so I'm curious about why that is the case and if it could be re-added.
I'm aware that this is only needed for local evaluation and while we don't use it extensively, it's still a use case we'd like to support.

Thanks in advance

@tyiuhc
Copy link
Collaborator

tyiuhc commented Jan 14, 2025

Hi @mtempranoWalla, thanks for raising this issue. The flagConfigPollingIntervalMillis config can still be used to set the flag polling interval. The minimum flag polling interval to 1 minute was intended to reduce the frequency of network requests for flags. It would be useful to understand your use case for us to support on this issue, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants