sewenew / redis-plus-plus

Redis client written in C++
Apache License 2.0
1.64k stars 351 forks source link

add retry times parameters #498

Open yarthur1 opened 1 year ago

yarthur1 commented 1 year ago

add retry times parameters

sewenew commented 1 year ago

Sorry, but somehow I missed this PR.

May I ask why you want to set these two retry count? More retries means more latency, and that's why we only retry once if getting a MOVED or ASKED error.

Also, thanks for your contribution!

Regards