-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
App Configuration Python Provider - Load Balancing (#37692)
* load balancing * fix rotation bug + added tests * code cleanup/docstrings * Added Changelog, fixed bug where refreshing the clients resulted in a reshuffle even if nothing changed. * adding missing telemetry * Code Review comments * formatting * PR comments * fixed logger, added client fail log * fixing extra _ * fixing failover? * Apply suggestions from code review Co-authored-by: Avani Gupta <[email protected]> * _load_balancing_enabled * fixing other instances * fixing _ * review comments * Update _client_manager.py * Update _async_client_manager.py * reworked logic * fixed tests and formatting * fixing checking for clients * Update _azureappconfigurationprovider.py * Update _azureappconfigurationproviderasync.py * Update _azureappconfigurationprovider.py * Update _azureappconfigurationprovider.py * Async changes to match sync * fixing shuffle * formatting * Update sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/_client_manager.py Co-authored-by: Avani Gupta <[email protected]> * Update sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/_client_manager.py Co-authored-by: Avani Gupta <[email protected]> * get_next_active_client * updating async with review changes * move outside if * fixing refresh * Update sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/_client_manager.py Co-authored-by: Albert Ofori <[email protected]> * always reshuffling * review comments * format fix --------- Co-authored-by: Avani Gupta <[email protected]> Co-authored-by: Albert Ofori <[email protected]>
- Loading branch information
1 parent
da9b5ff
commit d90e4e4
Showing
10 changed files
with
787 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.