mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Retry timeout and retryable error
This commit is contained in:
@ -332,7 +332,7 @@ func startSentinel(port, masterName, masterPort string) (*redisProcess, error) {
|
||||
type badConnError string
|
||||
|
||||
func (e badConnError) Error() string { return string(e) }
|
||||
func (e badConnError) Timeout() bool { return false }
|
||||
func (e badConnError) Timeout() bool { return true }
|
||||
func (e badConnError) Temporary() bool { return false }
|
||||
|
||||
type badConn struct {
|
||||
|
Reference in New Issue
Block a user