#正式环境配置文件 spring: datasource: url: jdbc:oracle:thin:@172.16.90.214:1521/gxmes password: gxmestest username: gxmestest driver-class-name: oracle.jdbc.OracleDriver application: name: antai-api mvc: async: request-timeout: 15000 server: port: 8080 tomcat: max-threads: 1000 accept-count: 800 eureka: client: registerWithEureka: false fetchRegistry: false openfeign: ColumnDataFeign: url: ${COLUMNDATAFEIGN_URL:172.16.90.214:8083} AmsFeign: url: ${AMSFEIGN_URL:localhost:8079} BmsFeign: url: ${BMSFEIGN_URL:172.16.90.214:8078} TmsFeign: url: ${TMSFEIGN_URL:localhost:8086} WMSFeign: url: ${WMSFEIGN_URL:172.16.90.214:8093} OMSFeign: url: ${OMSFEIGN_URL:172.16.90.214:8095} RmsFeign: url: ${RMSFEIGN_URL:172.16.90.214:8060} IntegrationFeign: url: ${INTEGRATIONFEIGN_URL:172.16.90.214:8066} OTMSFeign: url: ${OTMSFEIGN_URL:172.16.90.214:8038} EmsFeign: url: ${TMSFEIGN_URL:172.16.90.214:8096} SSOFeign: url: ${SSOFEIGN_URL:172.16.90.214:9001} #远程调用 feign: hystrix: enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效 client: config: default: #默认配置,连接时间要短,读取时间要长 connectTimeout: 1000 #单位毫秒 readTimeout: 10000 #单位毫秒 #熔断器 hystrix: command: default: execution: isolation: thread: timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒