Fix hub AI save: background PM2 restart after JSON response.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 23:06:31 +08:00
parent 823aeda42a
commit aaa72c7961
5 changed files with 32 additions and 21 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ def save_hub_ai_env(updates: dict[str, str]) -> dict[str, Any]:
def restart_all_pm2() -> dict[str, Any]:
return restart_hub_and_instances_pm2()
return restart_instances_then_hub_pm2()
def restart_hub_pm2() -> dict[str, Any]: