Description:
Retry does not work as expected. Every time a retry condition comes, the code will just raise an exception.
Items with the issue:
Side-affected items:
Fix Suggestion: Consider a retry flag, implement retry with exponential waiting time, so clients won’t make the life of the servers even harder when recovering from some outage, or just keep the loop going to the next server so the retry will target the next host, avoiding exponential waiting.
If retry will be really in place, it may be a good idea to have some value to manage it, on/off, retry after etc…
Description:
Retry does not work as expected. Every time a retry condition comes, the code will just raise an exception.
Items with the issue:
Side-affected items:
algoriasearch_djangolib on https://github.com/algolia/algoliasearch-django/blob/master/algoliasearch_django/registration.pyFix Suggestion: Consider a retry flag, implement retry with exponential waiting time, so clients won’t make the life of the servers even harder when recovering from some outage, or just keep the loop going to the next server so the retry will target the next host, avoiding exponential waiting.
If retry will be really in place, it may be a good idea to have some value to manage it,
on/off,retry afteretc…