fix 配置文件修改
This commit is contained in:
parent
f992d7dacc
commit
2473dc44a2
@ -31,13 +31,13 @@ database:
|
||||
Path: "resource/log/sql"
|
||||
|
||||
default:
|
||||
link: "mysql:gfast3:gfast333@tcp(192.168.0.212:3306)/gfast-v32?charset=utf8mb4&parseTime=true&loc=Local"
|
||||
link: "mysql:gfast3:gfast333@tcp(localhost:3306)/gfast-v32?charset=utf8mb4&parseTime=true&loc=Local"
|
||||
debug: true
|
||||
charset: "utf8mb4" #数据库编码
|
||||
dryRun: false #空跑
|
||||
maxIdle: 10 #连接池最大闲置的连接数
|
||||
maxOpen: 10 #连接池最大打开的连接数
|
||||
maxLifetime: 30 #(单位秒)连接对象可重复使用的时间长度
|
||||
maxLifetime: "30s" #(单位秒)连接对象可重复使用的时间长度
|
||||
|
||||
gfToken:
|
||||
cacheKey: "gfToken:"
|
||||
@ -49,13 +49,19 @@ gfToken:
|
||||
excludePaths:
|
||||
- "/api/v1/system/login"
|
||||
|
||||
|
||||
# Redis 配置示例
|
||||
redis:
|
||||
# 单实例配置
|
||||
default:
|
||||
address: 127.0.0.1:6379
|
||||
db: 1
|
||||
idleTimeout: 600
|
||||
idleTimeout: "60s" #连接最大空闲时间,使用时间字符串例如30s/1m/1d
|
||||
maxConnLifetime: "90s" #连接最长存活时间,使用时间字符串例如30s/1m/1d
|
||||
waitTimeout: "60s" #等待连接池连接的超时时间,使用时间字符串例如30s/1m/1d
|
||||
dialTimeout: "30s" #TCP连接的超时时间,使用时间字符串例如30s/1m/1d
|
||||
readTimeout: "30s" #TCP的Read操作超时时间,使用时间字符串例如30s/1m/1d
|
||||
writeTimeout: "30s" #TCP的Write操作超时时间,使用时间字符串例如30s/1m/1d
|
||||
maxActive: 100
|
||||
|
||||
system:
|
||||
@ -75,7 +81,7 @@ casbin:
|
||||
gfcli:
|
||||
gen:
|
||||
dao:
|
||||
- link: "mysql:gfast3:gfast333@tcp(192.168.0.212:3306)/gfast-v32"
|
||||
- link: "mysql:gfast3:gfast333@tcp(localhost:3306)/gfast-v32"
|
||||
tables: "tools_gen_table,tools_gen_table_column"
|
||||
removePrefix: "gf_"
|
||||
descriptionTag: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user