|
@@ -88,7 +88,8 @@ spring:
|
|
#redis 配置
|
|
#redis 配置
|
|
redis:
|
|
redis:
|
|
database: 0
|
|
database: 0
|
|
- host: 127.0.0.1
|
|
|
|
|
|
+# host: 127.0.0.1
|
|
|
|
+ host: 172.30.0.17
|
|
lettuce:
|
|
lettuce:
|
|
pool:
|
|
pool:
|
|
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
|
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
|
@@ -96,7 +97,7 @@ spring:
|
|
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
|
|
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
|
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
|
shutdown-timeout: 100ms
|
|
shutdown-timeout: 100ms
|
|
- #password: foobared
|
|
|
|
|
|
+ password: foobared
|
|
port: 6379
|
|
port: 6379
|
|
|
|
|
|
|
|
|