|
@@ -28,9 +28,9 @@ spring:
|
|
|
database:
|
|
|
cache: 10 # cache索引
|
|
|
token: 10 # Token索引
|
|
|
- host: localhost #Redis服务器地址
|
|
|
+ host: 192.168.2.121 #Redis服务器地址
|
|
|
port: 6379 # Redis服务器连接端口(本地环境端口6378,其他环境端口是6379)
|
|
|
- password: # Redis服务器连接密码(默认为空)
|
|
|
+ password: lantone # Redis服务器连接密码(默认为空)
|
|
|
lettuce:
|
|
|
pool:
|
|
|
max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
|