#正式环境配置文件 spring: datasource: url: jdbc:oracle:thin:@172.16.90.197:1521/ATTMS 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 basedir: /tomcat/baseDir eureka: client: registerWithEureka: false fetchRegistry: false openfeign: ColumnDataFeign: url: ${COLUMNDATAFEIGN_URL:172.16.90.202:80} AmsFeign: url: ${AMSFEIGN_URL:172.16.90.202:8079} TmsFeign: url: ${TMSFEIGN_URL:172.16.90.202:80} WMSFeign: url: ${WMSFEIGN_URL:172.16.90.202:80} RmsFeign: url: ${RMSFEIGN_URL:172.16.90.202:80} # url: ${RMSFEIGN_URL:localhost:8060} EmsFeign: url: ${TMSFEIGN_URL:172.16.90.202:80} SSOFeign: url: ${SSOFEIGN_URL:172.16.90.202:80} WebSocketFeign: url: ${WEBSOCKETFEIGN_URL:172.16.90.202:80} REPORTFeign: url: ${REPORTFEIGN_URL:172.16.90.202:80} #远程调用 feign: hystrix: enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效 client: config: default: #默认配置,连接时间要短,读取时间要长 connectTimeout: 1000 #单位毫秒 readTimeout: 30000 #单位毫秒 #熔断器 hystrix: command: default: execution: isolation: thread: timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒 strategy: SEMAPHORE semaphore: maxConcurrentRequests: 1