添加redis配置,将id缓存迁移由缓存移动到redis
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#文件位置配置
|
||||
|
||||
business:
|
||||
#分片次数,一定为24的约数,1 2 3 4 6 8 12 24
|
||||
slice: 4
|
||||
@@ -87,6 +87,19 @@ spring:
|
||||
username: root
|
||||
password: njcnpqs
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
redis:
|
||||
database: 15
|
||||
host: 192.168.1.22
|
||||
port: 16379
|
||||
password: njcnpqs
|
||||
timeout: 5000
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 8
|
||||
max-wait: -1
|
||||
max-idle: 8
|
||||
min-idle: 0
|
||||
#不做限制的参数配置
|
||||
#mybatis配置信息
|
||||
mybatis-plus:
|
||||
#别名扫描
|
||||
|
||||
Reference in New Issue
Block a user