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

fix: Set the environment for local evaluation mode on init #76

Merged
merged 7 commits into from
Mar 14, 2024

Conversation

zachaysan
Copy link
Contributor

Changes

This sets up the environment for the first time before booting the update cycle. This avoids a failure where waiting on a network request in one thread allows the primary thread to attempt to get flags before the local cache is set.

tests/test_polling_manager.py Outdated Show resolved Hide resolved
tests/test_polling_manager.py Outdated Show resolved Hide resolved
@zachaysan zachaysan requested a review from matthewelwell March 12, 2024 20:12
@zachaysan zachaysan requested a review from matthewelwell March 13, 2024 14:12
@matthewelwell
Copy link
Contributor

Sorry @zachaysan looks like some big PRs got merged so you've got some conflicts here. Thankfully just in the tests!

@matthewelwell
Copy link
Contributor

@zachaysan I handled the conflicts here.

@matthewelwell matthewelwell merged commit 5fc5559 into main Mar 14, 2024
4 checks passed
@matthewelwell matthewelwell deleted the fix/set_local_evaluation_environment_before_init branch March 14, 2024 09:01
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.

2 participants