application.properties
1.24 KB
# 指定启动的时候springboot的激活环境
spring.profiles.active=test
# Forest配置
# 后端HTTP框架(默认为 okhttp3)
forest.backend=okhttp3
# 连接池最大连接数(默认为 500)
forest.max-connections=1000
# 每个路由的最大连接数(默认为 500)
forest.max-route-connections=500
# 最大请求等待队列大小
forest.max-request-queue-size=100
# 最大异步线程数
forest.max-async-thread-size=300
# 最大异步线程池队列大小
forest.max-async-queue-size=16
# 连接超时时间,单位为毫秒(默认为 timeout)
forest.connect-timeout=30000
# 数据读取超时时间,单位为毫秒(默认为 timeout)
forest.read-timeout=30000
# 请求失败后重试次数(默认为 0 次不重试)
forest.max-retry-count=1
# 单向验证的HTTPS的默认TLS协议(默认为 TLS)
forest.ssl-protocol=TLS
# 打开或关闭日志(默认为 true)
forest.log-enabled=true
# 打开/关闭Forest请求日志(默认为 true)
forest.log-request=true
# 打开/关闭Forest响应状态日志(默认为 true)
forest.log-response-status=true
# 打开/关闭Forest响应内容日志(默认为 false)
forest.log-response-content=true
# 用户信息接口URL
forest.variables.userInfoUrl=https://cpcapi.cbg.cn