generated from root/miduo_server
fix db
parent
cbbfa933f2
commit
c821620971
|
@ -85,7 +85,7 @@ public class MyStringRedisTemplate {
|
|||
connectionFactory.afterPropertiesSet();
|
||||
//实例化
|
||||
redisObjectTemplate = new StringRedisTemplate(connectionFactory);
|
||||
LOGGER.info("initUserCacheDb==>host={},port={} db={} isSentine=>{} redis success !!!", redisProperties.getHost(), redisProperties.getPort(), redisProperties.getDatabase(),connectionFactory.isRedisSentinelAware());
|
||||
LOGGER.info("initUserCacheDb==>host={},port={} db={},the reallydb={} isSentine=>{} redis success !!!", redisProperties.getHost(), redisProperties.getPort(), redisProperties.getDatabase(),connectionFactory.getDatabase(),connectionFactory.isRedisSentinelAware());
|
||||
}
|
||||
|
||||
public StringRedisTemplate getRedisObjectTemplate() {
|
||||
|
|
Loading…
Reference in New Issue