12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- # redis 相关
- spring:
- redis:
- password:
- host: localhost
- # 暴露监控端点
- management:
- endpoints:
- web:
- exposure:
- include: '*'
- # feign 配置
- feign:
- hystrix:
- enabled: true
- okhttp:
- enabled: true
- httpclient:
- enabled: false
- client:
- config:
- feignName:
- connectTimeout: 10000
- readTimeout: 10000
- compression:
- request:
- enabled: true
- response:
- enabled: true
- # hystrix If you need to use ThreadLocal bound variables in your RequestInterceptor`s
- # you will need to either set the thread isolation strategy for Hystrix to `SEMAPHORE or disable Hystrix in Feign.
- hystrix:
- command:
- default:
- execution:
- isolation:
- strategy: SEMAPHORE
- thread:
- timeoutInMilliseconds: 60000
- shareSecurityContext: true
- #请求处理的超时时间
- ribbon:
- ReadTimeout: 10000
- ConnectTimeout: 10000
- `#swagger公共信息
- swagger:
- description: '全宇宙最牛逼的Spring Cloud微服务开发脚手架'
- version: '1.2.4'
- contact:
- name: '冷冷'
- email: 'wangiegie@gmail.com'
- url: 'https://gitee.wang/pig/pigx'
|