1
This commit is contained in:
@@ -20,6 +20,8 @@ func init() {
|
||||
client = redis.NewClient(&redis.Options{
|
||||
Addr: "localhost:6379",
|
||||
Password: "",
|
||||
DB: 5,
|
||||
PoolSize: 50,
|
||||
})
|
||||
pong, err := client.Ping().Result()
|
||||
globals.SugarLogger.Debugf("redis pong %v, err: %v", pong, err)
|
||||
|
||||
Reference in New Issue
Block a user