1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Add releaseConnStrict

This commit is contained in:
Vladimir Mihailenco
2018-10-14 11:27:34 +03:00
parent 77f7b88603
commit fa76dd0e87
4 changed files with 17 additions and 25 deletions

View File

@ -9,6 +9,9 @@ import (
)
func IsRetryableError(err error, retryTimeout bool) bool {
if err == nil {
return false
}
if err == io.EOF {
return true
}