Update driver.go

This commit is contained in:
GuerraMorgan 2020-06-13 07:25:07 +08:00 committed by GitHub
parent d90e6678af
commit 8ef61bc1dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
pkg/cache/driver.go vendored
View file

@ -15,7 +15,7 @@ func Init() {
if conf.RedisConfig.Server != "" && gin.Mode() != gin.TestMode {
Store = NewRedisStore(
10,
"tcp",
conf.RedisConfig.Network,
conf.RedisConfig.Server,
conf.RedisConfig.Password,
conf.RedisConfig.DB,