提交 025dd8be 作者: Administrator

Add new file

上级
# ===================================================================
# 微服务配置中心
# ===================================================================
# 微服务启动时检测连接状态
configserver:
name: Crong Registry config server
status: 已连接微服务配置中心!
# JWT全局密钥,会覆盖本地配置!
jhipster:
security:
authentication:
jwt:
secret: crong
# 配置各微服务名称 注意冒号后面一定要接个空格
feign:
name:
cache: cache
monitor: monitor
filecenter: filecenter #文件中心
organ: organ #企业管理
gateconf: gateconf #网关配置
manager: manager #后台管理
push: push #与网关设备消息交互
gateway: gateway
sms: sms
view: view
alarm: alarm
# 配置各个微服务的端口号
port:
manager: 8085
fileCenter: 8082
# ===================================================================
# 处理接口调用超时问题
# ===================================================================
ribbon:
ReadTimeout: 60000
ConnectTimeout: 60000
eureka:
enabled: true
zuul:
host:
connect-timeout-millis: 60000
socket-timeout-millis: 60000
# See https://github.com/Netflix/Hystrix/wiki/Configuration
hystrix:
command:
default:
execution:
timeout:
enabled: false
isolation:
strategy: THREAD
thread:
timeoutInMilliseconds: 60000
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论