1 Star 0 Fork 0

kwafoo/mad-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mad-organ-service-dev.yml 1.84 KB
一键复制 编辑 原始数据 按行查看 历史
lomo_dcm 提交于 2019-09-10 17:28 . 上传文件配置
server:
tomcat:
max-threads: 500 # Maximum amount of worker threads.
min-spare-threads: 50 # Minimum amount of worker threads
basedir: /tmp/tomcat
spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/mad_cloud?useUnicode=true&characterEncoding=UTF8&allowPublicKeyRetrieval=true&useSSL=false&autoReconnect=true
driver-class-name: com.mysql.jdbc.Driver
username: root
password: Mad123!@#
max-idle: 10
min-idle: 5
test-on-borrow: false
time-between-eviction-runs-millis: 18800
test-while-idle: true
validation-query: SELECT 1
hikari:
minimum-idle: 0
redis:
host: 127.0.0.1
port: 6379
password:
timeout: 10000
rabbitmq:
host: 127.0.0.1
port: 5672
#username: super
#password: super
http:
multipart:
max-file-size: 1000MB
max-request-size: 1000MB
location: /data/temp
diseases:
image:
path: /usr/local/nginx/html/
redis:
cache:
expiration: 3601
ribbon:
eager-load:
enabled: true
clients: mad-auth,mad-user-service,mad-organ-service
Httpclient:
enabled: true
OkHttp:
enabled: false
ReadTimeout: 20000
ConnectTimeout: 20000
feign:
hystrix:
enabled: true
okhttp:
enabled: false
httpclient:
enabled: true
client:
config:
feignName:
connectTimeout: 30000
readTimeout: 30000
compression:
request:
enabled: true
response:
enabled: true
hystrix:
threadpool:
default:
coreSize: 500
maxQueueSize: 1000
queueSizeRejectionThreshold: 800
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 60000
#关闭验证
management:
metrics:
web:
server:
auto-time-requests: false
#ES
es:
host: 39.96.166.226
port: 9200
scheme: http
index: book-index,access_recode
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/kwafoo/mad-config.git
git@gitee.com:kwafoo/mad-config.git
kwafoo
mad-config
mad-config
dev

搜索帮助