Explorar o código

增加超时时间

xuzhiheng %!s(int64=2) %!d(string=hai) anos
pai
achega
0061d6c206
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      api/etc/entmanageapplication-api.yaml
  2. 1 0
      rpc/etc/entmanageapplication.yaml

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

@@ -11,6 +11,7 @@ GatewayRpcConf:
     Hosts:
       -  192.168.3.240:2379
     Key: gatewayDemo.rpc
+Timeout:  10000
 Logx:
   Mode: console #console|file|volume
   Path: ./logs

+ 1 - 0
rpc/etc/entmanageapplication.yaml

@@ -24,6 +24,7 @@ Mongo:
     MongodbAddr: 192.168.3.206:27080
     DbName: qfw
     Size: 10
+Timeout:  10000
 Logx:
   Mode: console #console|file|volume
   Path: logs