fix: 修正脱敏配置的内存数据库与示例说明
This commit is contained in:
@@ -87,9 +87,8 @@ database:
|
||||
maxOpen: 100 #连接池最大打开的连接数
|
||||
maxLifetime: 120 #(单位秒)连接对象可重复使用的时间长度
|
||||
memorydb:
|
||||
# link: "${DB_DSN}"
|
||||
link: "${DB_DSN}"
|
||||
# link: "${DB_DSN}"
|
||||
# SQLite 内存库供本地启动及测试使用,无需外部凭据。
|
||||
link: "sqlite::@file(:memory:)"
|
||||
debug: true
|
||||
maxIdle: 1
|
||||
maxOpen: 1
|
||||
@@ -108,7 +107,7 @@ redis:
|
||||
sentinelMasterName: "iotlcm-master" #哨兵模式主节点名称
|
||||
address: 127.0.0.1:6379
|
||||
db: 0
|
||||
pass: "${SERVICE_PASSWORD}"
|
||||
pass: "${REDIS_PASSWORD}"
|
||||
minIdle: 5 #最小空闲连接数
|
||||
maxIdle: 30 #允许闲置的最大连接数
|
||||
maxActive: 5000 #最大活跃连接数
|
||||
|
||||
Reference in New Issue
Block a user