추론진행 서버 상태 수정
This commit is contained in:
@@ -542,7 +542,9 @@ public class InferenceResultService {
|
||||
|
||||
int serverCnt =
|
||||
(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) {
|
||||
@@ -563,9 +565,7 @@ public class InferenceResultService {
|
||||
dto.setGpuUtil(0);
|
||||
dtoList.add(dto);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dtoList.sort(Comparator.comparing(InferenceServerStatusDto::getServerName));
|
||||
|
||||
Reference in New Issue
Block a user