Browse Source

optimize quick restart shell

supeng 1 year ago
parent
commit
547b3d7192
1 changed files with 2 additions and 2 deletions
  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 ...")