소스 검색

update wait time

supeng 6 달 전
부모
커밋
82f3d893f9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      longvideoapi/longvideoapi_scaling_k_count.py

+ 1 - 1
longvideoapi/longvideoapi_scaling_k_count.py

@@ -74,7 +74,7 @@ async def ess_instance(ecs_client, alb_client, ess_count, max_workers, port):
     # 4. 异步探活
     global health_instances
     health_instances = []
-    max_wait_time = 180
+    max_wait_time = 360
     loop = asyncio.get_running_loop()
     executor = ThreadPoolExecutor(max_workers=max_workers)
     tasks = [