Update driver.go

pull/466/head
GuerraMorgan 5 years ago committed by GitHub
parent d90e6678af
commit 8ef61bc1dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save