liqian 2 years ago
parent
commit
eb2a9e643f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ess_instance_rov_server.py
  2. 1 1
      utils.py

+ 1 - 1
ess_instance_rov_server.py

@@ -41,7 +41,7 @@ async def ess_instance(create_client, slb_client, ess_count, max_workers):
     # 4. 异步探活
     global health_instances
     health_instances = []
-    max_wait_time = 60
+    max_wait_time = 180
     loop = asyncio.get_running_loop()
     executor = ThreadPoolExecutor(max_workers=max_workers)
     tasks = [

+ 1 - 1
utils.py

@@ -93,7 +93,7 @@ def send_request(client, request):
     try:
         response = client.do_action_with_exception(request)
         response = json.loads(response)
-        logging.info(response)
+        # logging.info(response)
         return response
     except Exception as e:
         # 失败,记录报错信息,发送通知,停止并退出