추론진행 서버 상태 수정

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

View File

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