mirror of
https://github.com/redis/go-redis.git
synced 2025-04-16 09:23:06 +03:00
* conncheck for badconn (#1821) * format imports * fix ut: pool with badconn * fix unstable ut: should facilitate failover * Revert "fix unstable ut: should facilitate failover" This reverts commit c7eeca2a5ca7cdef82cfe39b21dd781d5a286007. * fix test error Signed-off-by: monkey92t <golang@88.com> Co-authored-by: hidu <duv123+github@gmail.com> Co-authored-by: monkey92t <golang@88.com>
10 lines
161 B
Go
10 lines
161 B
Go
// +build !linux,!darwin,!dragonfly,!freebsd,!netbsd,!openbsd,!solaris,!illumos
|
|
|
|
package pool
|
|
|
|
import "net"
|
|
|
|
func connCheck(conn net.Conn) error {
|
|
return nil
|
|
}
|