aioelasticsearch
aioelasticsearch copied to clipboard
Infinite loop when max_retries=0
If 'max_retries=0' is set and the request fails, the client goes into an infinite loop, resulting in a ddos elasticsearch.
In the synchronous version of the client, this case is handled correctly.