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

Better handling for providers in concurrent actions #319

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

JacobCallahan
Copy link
Member

@JacobCallahan JacobCallahan commented Sep 18, 2024

--- First Commit ---
This change simplifies the way we add provider validators to dynaconf. Instead of attempting to add new validators when a class instance is created, we instead add it when the class itself is created. This means that it will happen once immediately when broker is loaded.

--- Second Commit ---
This change rewrites the way broker actions handle concurrency.
Previously, this was offloaded in a manner that was wasteful in the way
it handled pre-action setup.
Now, we don't go concurrent until we're ready to perform the action we
want.

@JacobCallahan JacobCallahan added the enhancement New feature or request label Sep 18, 2024
This change simplifies the way we add provider validators to dynaconf.
Instead of attempting to add new validators when a class instance is
created, we instead add it when the class itself is created. This means
that it will happen once immediately when broker is loaded.
@JacobCallahan JacobCallahan changed the title Move provider validator registration to class construction Better handling for providers in concurrent actions Sep 19, 2024
This change rewrites the way broker actions handle concurrency.
Previously, this was offloaded in a manner that was wasteful in the way
it handled pre-action setup.
Now, we don't go concurrent until we're ready to perform the action we
want.
@JacobCallahan JacobCallahan merged commit 15e5851 into SatelliteQE:master Sep 20, 2024
4 checks passed
@JacobCallahan JacobCallahan deleted the alt_loading branch September 20, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants