As you can see in the redis-py docs the ExponentialBackoff starts with 8ms and ramps up to only 512ms. Paired with only three retries this makes it fail very quickly.
I increased the values to start with 1s and ramp up to 20s. Also, increased the retries to 20. I think this brings it closer to the JavaScript library.
As you can see in the redis-py docs the
ExponentialBackoff
starts with 8ms and ramps up to only 512ms. Paired with only three retries this makes it fail very quickly.I increased the values to start with 1s and ramp up to 20s. Also, increased the retries to 20. I think this brings it closer to the JavaScript library.
Related to my issue: #2542