| | |
| | | log-response-status: true # 打开/关闭Forest响应状态日志(默认为 true)
|
| | | log-response-content: true # 打开/关闭Forest响应内容日志(默认为 false)
|
| | | async-mode: platform # [自v1.5.27版本起可用] 异步模式(默认为 platform)
|
| | | converters:
|
| | | json:
|
| | | type: com.dtflys.forest.converter.json.ForestJacksonConverter
|
| | | # 防止XSS攻击
|
| | | xss:
|
| | | # 过滤开关
|
| | |
| | | urlPatterns: /system/*,/monitor/*,/tool/*
|
| | | #异步线程池配置
|
| | | ThreadPoolTask:
|
| | | corePoolSize: 20
|
| | | maxPoolSize: 40
|
| | | corePoolSize: 10
|
| | | maxPoolSize: 10
|
| | | keepAliveSeconds: 300
|
| | | queueCapacity: 50
|
| | | queueCapacity: 500
|
| | | # Spring配置
|
| | | spring:
|
| | | # 资源信息
|
| | |
| | | max-wait: -1ms
|
| | | # 激活配置文件
|
| | | profiles:
|
| | | active: prod-druid,prod
|
| | | active: dev-druid,dev
|
| | |
|