Browse Source

新增超时时间

zhangxinlei1996 3 years ago
parent
commit
06b4b88f16
2 changed files with 3 additions and 1 deletions
  1. 1 0
      api/etc/usercenter-api.yaml
  2. 2 1
      rpc/etc/usercenter.yaml

+ 1 - 0
api/etc/usercenter-api.yaml

@@ -11,3 +11,4 @@ GatewayRpcConf:
     Hosts:
       -  192.168.3.240:2379
     Key: gatewayDemo.rpc
+Timeout:  5000

+ 2 - 1
rpc/etc/usercenter.yaml

@@ -30,4 +30,5 @@ Logx:
   KeepDays: 100
 IsRun: true
 CheckEntIsExpire: 00:00
-DoMain: https://jybx-webtest.jydev.jianyu360.com
+DoMain: https://jybx-webtest.jydev.jianyu360.com
+Timeout:  5000