Przeglądaj źródła

删除 'gateway-game/config/gw.game.yaml'

chenghongxi 5 lat temu
rodzic
commit
b375e34f21
1 zmienionych plików z 0 dodań i 74 usunięć
  1. 0 74
      gateway-game/config/gw.game.yaml

+ 0 - 74
gateway-game/config/gw.game.yaml

@@ -1,74 +0,0 @@
-# 内部测试环境游戏网关配置
-listen_port : 10001                           # 服务监听端口(core)
-services :
-  - name : weile                              # 服务名称
-    domain :                                  # 服务host名称
-    nodes :
-      - addr : wapi-0.gwg-wapi.gateway.svc.cluster.local:5051                 # 节点ip
-        timeout : 2000                                                        # 请求超时时间
-        max_concurrent_request : 10000                                        # 最大并发请求数
-        request_volume_threshold : 10000                                      # 启动熔断机制所需的最小请求数量
-        sleep_window : 5000                                                   # 熔断恢复等待时间
-        error_percent_threshold : 50                                          # 触发熔断阈值
-      - addr : wapi-1.gwg-wapi.gateway.svc.cluster.local:5051
-        timeout : 2000
-        max_concurrent_request : 10000
-        request_volume_threshold : 10000
-        sleep_window : 5000
-        error_percent_threshold : 50
-      - addr : wapi-2.gwg-wapi.gateway.svc.cluster.local:5051
-        timeout : 2000
-        max_concurrent_request : 10000
-        request_volume_threshold : 10000
-        sleep_window : 5000
-        error_percent_threshold : 50
-  - name : wapi3                              # 服务名称
-    domain :                                  # 服务host名称
-    nodes :
-      - addr : wapi3.weile.com:80                                             # 节点ip
-        timeout : 2000                                                        # 请求超时时间
-        max_concurrent_request : 10000                                        # 最大并发请求数
-        request_volume_threshold : 10000                                      # 启动熔断机制所需的最小请求数量
-        sleep_window : 5000                                                   # 熔断恢复等待时间
-        error_percent_threshold : 50                                          # 触发熔断阈值
-  - name : api
-    domain:
-    nodes :
-      - addr : wechat.weile.com
-        timeout : 2000                                                       
-        max_concurrent_request : 10000                                   
-        request_volume_threshold : 10000                                      
-        sleep_window : 5000                                                 
-        error_percent_threshold : 50     
-  - name : api4
-    domain:
-    nodes :
-      - addr : 192.168.15.44:5053
-        timeout : 2000                                                       
-        max_concurrent_request : 10000                                   
-        request_volume_threshold : 10000                                      
-        sleep_window : 5000                                                 
-        error_percent_threshold : 50
-  - name : webapi
-    domain:
-    nodes :
-      - addr : wapi.weiletest.com
-        timeout : 2000                                                       
-        max_concurrent_request : 10000                                   
-        request_volume_threshold : 10000                                      
-        sleep_window : 5000                                                 
-        error_percent_threshold : 50
-  - name : wapi-test # 汤培测试
-    domain:
-    nodes :
-      - addr : 172.16.12.13:5057
-        timeout : 2000                                                       
-        max_concurrent_request : 10000                                   
-        request_volume_threshold : 10000                                      
-        sleep_window : 5000                                                 
-        error_percent_threshold : 50
-logs :
-  dir : ../log                                # 文件保存路径
-  file : game-proxy                           # 文件名称,实际会保存为{filename}+{datetime}
-  level : 3                                   # 日志级别,0-error,1-warning,2-info,3-debug,4-trace
-  savefile : false                            # 是否保存为文件,置为false会输出到标准输出