...
|
...
|
@@ -44,6 +44,7 @@ public class NodePm2Task { |
|
|
|
|
|
try {
|
|
|
String projects = httpRestClientService.doGet(URL + "getProjects", null);
|
|
|
logger.info("cron_task_node_mem projects "+projects);
|
|
|
if (projects != null) {
|
|
|
List<Project> projectList = JSONArray.parseArray(projects, Project.class);
|
|
|
List<PythonProject> pythonProjects = new ArrayList<>(projectList.size());
|
...
|
...
|
@@ -65,6 +66,8 @@ public class NodePm2Task { |
|
|
continue;
|
|
|
}
|
|
|
ipSet.add(ip);
|
|
|
|
|
|
logger.info("cron_task_node_mem for ip {} ,name {} ",ip,pythonEnv.getName());
|
|
|
|
|
|
String result = httpRestClientService.doGet("http://" + ip + ":9615", null);
|
|
|
JSONObject resultJSONObject = JSON.parseObject(result);
|
...
|
...
|
|