fix: 升级springboot3 redis配置由spring.redis → spring.data.redis
This commit is contained in:
@@ -8,18 +8,19 @@ spring:
|
|||||||
url: jdbc:mysql://www.youlai.tech:3306/youlai_boot?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&allowMultiQueries=true
|
url: jdbc:mysql://www.youlai.tech:3306/youlai_boot?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&allowMultiQueries=true
|
||||||
username: youlai
|
username: youlai
|
||||||
password: 123456
|
password: 123456
|
||||||
redis:
|
data:
|
||||||
database: 6
|
redis:
|
||||||
host: www.youlai.tech
|
database: 6
|
||||||
port: 6379
|
host: www.youlai.tech
|
||||||
password: 123456
|
port: 6379
|
||||||
timeout: 10s
|
password: 123456
|
||||||
lettuce:
|
timeout: 10s
|
||||||
pool:
|
lettuce:
|
||||||
min-idle: 0
|
pool:
|
||||||
max-idle: 8
|
min-idle: 0
|
||||||
max-active: 8
|
max-idle: 8
|
||||||
max-wait: -1ms
|
max-active: 8
|
||||||
|
max-wait: -1ms
|
||||||
|
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
global-config:
|
global-config:
|
||||||
|
|||||||
@@ -8,18 +8,19 @@ spring:
|
|||||||
url: jdbc:mysql://www.youlai.tech:3306/youlai_boot?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&allowMultiQueries=true
|
url: jdbc:mysql://www.youlai.tech:3306/youlai_boot?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&allowMultiQueries=true
|
||||||
username: youlai
|
username: youlai
|
||||||
password: 123456
|
password: 123456
|
||||||
redis:
|
data:
|
||||||
database: 6
|
redis:
|
||||||
host: www.youlai.tech
|
database: 6
|
||||||
port: 6379
|
host: www.youlai.tech
|
||||||
password: 123456
|
port: 6379
|
||||||
timeout: 10s
|
password: 123456
|
||||||
lettuce:
|
timeout: 10s
|
||||||
pool:
|
lettuce:
|
||||||
min-idle: 0
|
pool:
|
||||||
max-idle: 8
|
min-idle: 0
|
||||||
max-active: 8
|
max-idle: 8
|
||||||
max-wait: -1ms
|
max-active: 8
|
||||||
|
max-wait: -1ms
|
||||||
|
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
global-config:
|
global-config:
|
||||||
|
|||||||
Reference in New Issue
Block a user