This commit is contained in:
邹宗楠
2022-08-25 16:10:01 +08:00
parent be87623211
commit 66db5867a4
49 changed files with 2364 additions and 649 deletions

View File

@@ -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)