generated from root/miduo_server
fix db
parent
cbbfa933f2
commit
c821620971
|
@ -85,7 +85,7 @@ public class MyStringRedisTemplate {
|
||||||
connectionFactory.afterPropertiesSet();
|
connectionFactory.afterPropertiesSet();
|
||||||
//实例化
|
//实例化
|
||||||
redisObjectTemplate = new StringRedisTemplate(connectionFactory);
|
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() {
|
public StringRedisTemplate getRedisObjectTemplate() {
|
||||||
|
|
Loading…
Reference in New Issue