1
0
mirror of https://github.com/redis/go-redis.git synced 2025-10-18 22:08:50 +03:00

fix(pool): wip, pool reauth should not interfere with handoff

This commit is contained in:
Nedyalko Dyakov
2025-10-14 21:02:33 +03:00
parent 3ad9f9cb23
commit 5fe0bfa0ff
6 changed files with 158 additions and 22 deletions

View File

@@ -112,6 +112,8 @@ func isBadConn(err error, allowTimeout bool, addr string) bool {
return false
case context.Canceled, context.DeadlineExceeded:
return true
case pool.ErrConnUnusableTimeout:
return true
}
if isRedisError(err) {