redis / redis-py

Redis Python client
MIT License
12.68k stars 2.53k forks source link

Fix number of retries in async pipeline #3440

Open Yard1 opened 3 days ago

Yard1 commented 3 days ago

Pull Request check-list

Please make sure to review and check all of these items:

NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.

Description of change

Ran into the same issue as in https://github.com/redis/redis-py/issues/3419. This PR fixes the incorrect number of executions (one less than desired) in async ClusterPipeline.