You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When retrying, use the next host in your array.
When retrying because of a timeout, raise the timeouts like this:
number_of_tries * base_timeout
Example: Search (5s timeout) → Search timeout → Search (10s timeout) → Repeat.
At the moment, on the Python API Client we don't use yet the retry_count for this.
Goal:
Multiple timeouts by the number of tries on the line
Looking at the retry specs, we see that:
At the moment, on the Python API Client we don't use yet the
retry_countfor this.Goal:
Multiple timeouts by the number of tries on the line
algoliasearch-client-python/algoliasearch/http/transporter.py
Line 72 in 97a6f15
Add a test on it.
Implementation on C#: https://github.com/algolia/algoliasearch-client-csharp/blob/42ab1842f859df87482602b12d5cb714bfa8ec71/src/Algolia.Search/Transport/HttpTransport.cs#L118