소스 검색

weight 20

xuekailun 5 달 전
부모
커밋
7ec4ee1f04
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gateway/gateway_update.py

+ 1 - 1
gateway/gateway_update.py

@@ -136,5 +136,5 @@ if __name__ == '__main__':
     for instanceID in InstanceIDs:
         for server_group_id in gateway_config.server_group_id_list:
             utils.set_instance_weight_process_with_alb(alb_client, [server_group_id], [instanceID],
-                                                       [(0, 5)])  # 设置初始权重为0
+                                                       [(0, 20)])  # 设置初始权重为0
         update(instanceID)