추론진행 서버 상태 수정

This commit is contained in:
2026-01-23 15:29:09 +09:00
parent d68393ffa6
commit afed481ea0

View File

@@ -542,7 +542,9 @@ public class InferenceResultService {
int serverCnt = int serverCnt =
(int) (int)
dtoList.stream().filter(dto -> dto.getServerName().toString().equals(srvNm)).count(); dtoList.stream()
.filter(dto -> dto.getServerName().toString().equals(srvNm))
.count();
/* /*
for (InferenceServerStatusDto dto : dtoList) { for (InferenceServerStatusDto dto : dtoList) {
@@ -563,9 +565,7 @@ public class InferenceResultService {
dto.setGpuUtil(0); dto.setGpuUtil(0);
dtoList.add(dto); dtoList.add(dto);
} }
} }
} }
dtoList.sort(Comparator.comparing(InferenceServerStatusDto::getServerName)); dtoList.sort(Comparator.comparing(InferenceServerStatusDto::getServerName));