@@ -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 = [
@@ -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:
# 失败,记录报错信息,发送通知,停止并退出