记得上下班打卡 | git大法好,push需谨慎

Commit 07eb6316 authored by 张国柄's avatar 张国柄

~config:config|consumer.redis.host;

parent 8460d08a
......@@ -53,7 +53,7 @@ public abstract class AbstractRedisConfig {
@PostConstruct
public void initRedisTemp() throws Exception {
log.info("############################################################");
log.info("###### START 初始化 Redis "+this.getClass().getSimpleName()+"连接池 START ######");
log.info("###### START 初始化 Redis{} "+this.getClass().getSimpleName()+"连接池 START ######", this.getHost());
if(StringUtils.isEmpty(getHost())||getHost().equalsIgnoreCase("null")){
log.info("无配置,不需要初始化!");
return;
......
......@@ -69,16 +69,16 @@ spring:
max-wait: -1
max-idle: 8
min-idle: 0
database: ${liquidnet.redis.kylin.database}
port: ${liquidnet.redis.kylin.port}
host: ${liquidnet.redis.kylin.host}
password: ${liquidnet.redis.kylin.password}
lettuce:
pool:
max-active: 60
max-wait: -1
max-idle: 48
min-idle: 0
# database: ${liquidnet.redis.kylin.database}
# port: ${liquidnet.redis.kylin.port}
# host: ${liquidnet.redis.kylin.host}
# password: ${liquidnet.redis.kylin.password}
# lettuce:
# pool:
# max-active: 60
# max-wait: -1
# max-idle: 48
# min-idle: 0
data:
mongodb:
uri: mongodb://${liquidnet.mongodb.user}:${liquidnet.mongodb.pwd}@${liquidnet.mongodb.host}/?authSource=admin&maxPoolSize=200&waitQueueMultiple=100
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment