Commit 42bc84b8 by Administrator

Update application-dev.yml

parent 2655bc3c
......@@ -5,3 +5,103 @@ management:
endpoints:
health:
sensitive: false
spring:
servlet:
multipart:
enabled: true
max-file-size: 300MB
max-request-size: 300MB
rabbitmq:
host: 119.96.87.17
port: 5672
username: techhero
password: techhero
virtual-host: /innerresource
listener:
simple:
acknowledge-mode: manual # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
publisher-confirms: true #确认消息已发送到交换机(Exchange)
publisher-returns: true #确认消息已发送到队列(Queue)
feign:
hystrix:
enabled: true
okhttp:
enabled: true
httpclient:
enabled: false
client:
config:
feignName:
connectTimeout: 10000
readTimeout: 20000
compression:
request:
enabled: true
response:
enabled: true
# yml
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 15000
threadpool:
default:
coreSize: 50 ##并发执行的最大线程数,默认10
maxQueueSize: 100 ##BlockingQueue的最大队列数
queueSizeRejectionThreshold: 80
ribbon:
ReadTimeout: 10000
ConnectTimeout: 10000
eureka:
enabled: true
httpclient:
enabled: false
okhttp:
enabled: true
eager-load:
enabled: true
clients: techhero-framework-config,techhero-framework-eureka,techhero-framework-auth,techhero-platform-exam,techhero-platform-system,techhero-business-track,techhero-business-command,techhero-business-transdata,techhero-business-datagovern,techhero-business-visualization,techhero-framework-config
tomcat:
max-connections: 500
max-threads: 30
min-spare-threads: 3
accept-count: 10
token:
refreshTokenValiditySeconds: 7200
accessTokenValiditySeconds: 3600
remainingTime: 3480
# 放行白名单
secure:
ignore:
urls: #配置白名单路径
- /actuator/**
- /auth/**
- /rsa/**
- /token/**
- /login/**
- /weChat/login
- /identification/weChat/login
- /gateway/**
- /permission/white/**
- /basic/code/**
- /examination/kwksjcxxb/downloadKsTemplate
- /subject/alipay/alipayCallback
- /examination/app/forgetPassword
- /examination/app/sendSmsCode
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment