Compare commits

..

No commits in common. "master" and "v1.3.2" have entirely different histories.

1 changed files with 4 additions and 4 deletions

8
rdb.go
View File

@ -140,11 +140,11 @@ func newRedisPool(s RdSettings, logger logr.Logger) *redis.Pool {
idleTimeoutSec = 240
}
connStr := s.ConnStr()
connStr := s.ConnStr()
if len(s.Prefix) > 0 {
logger = logger.WithValues("rd", s.Prefix)
}
if len(s.Prefix) > 0 {
logger = logger.WithName("[" + s.Prefix + "]")
}
return &redis.Pool{
Wait: false,