We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6fb93c commit 5b808b6Copy full SHA for 5b808b6
algoliasearch/http/retry.py
@@ -33,7 +33,7 @@ def decide(self, host: Host, response: ApiResponse) -> str:
33
host.up = False
34
35
return RetryOutcome.RETRY
36
- elif response.status_code is not None and self._is_success(response):
+ elif self._is_success(response):
37
return RetryOutcome.SUCCESS
38
39
return RetryOutcome.FAIL
0 commit comments