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

Add PoolStats.StaleConns and enable logging by default

This commit is contained in:
Vladimir Mihailenco
2017-09-11 09:10:17 +03:00
parent 1173a9589f
commit 5294b5dae1
6 changed files with 26 additions and 29 deletions

View File

@ -3,7 +3,6 @@ package redis_test
import (
"errors"
"fmt"
"log"
"net"
"os"
"os/exec"
@ -51,10 +50,6 @@ var cluster = &clusterScenario{
clients: make(map[string]*redis.Client, 6),
}
func init() {
redis.SetLogger(log.New(os.Stderr, "redis: ", log.LstdFlags|log.Lshortfile))
}
var _ = BeforeSuite(func() {
var err error