소스 검색

optimize quick restart shell

supeng 1 년 전
부모
커밋
547b3d7192
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      longvideo_quick_restart_with_ess.py

+ 2 - 2
longvideo_quick_restart_with_ess.py

@@ -232,10 +232,10 @@ def main():
         logging.info(f"ess instances end!")
 
         # 3. 重启线上原有服务器
-        image_name = 'longvideoapi'
+        # image_name = 'longvideoapi'
         # asyncio.run(server_restart_all(slb_client=slb_client, instance_id_list=online_instance_ids,
         #                                image_name=image_name, max_workers=online_instance_count))
-        logging.info(f"server restart finished!")
+        # logging.info(f"server restart finished!")
 
         # 4. 停止并释放扩容机器
         logging.info(f"stop & release instances start ...")