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

Poll cold start fix #795

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Poll cold start fix #795

wants to merge 3 commits into from

Conversation

jnunemaker
Copy link
Collaborator

It's possible if using an adapter that doesn't retain state that a feature could be checked before the first background thread sync finishes. If this happens flipper thinks no features are enabled. That's not good. So let's avoid that by forcing a sync in the main thread.

Should we rescue around the sync and warn? Probably?

@jnunemaker jnunemaker self-assigned this Dec 17, 2023
@jnunemaker
Copy link
Collaborator Author

Looks like I have failures to deal with first because the tests don't like doing the sync.

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

Successfully merging this pull request may close these issues.

1 participant