추론관리 목록 조회 수정, 추론 종료 추가
This commit is contained in:
@@ -52,7 +52,7 @@ public class MapSheetInferenceJobService {
|
||||
@Transactional
|
||||
public void runBatch() {
|
||||
if (isLocalProfile()) {
|
||||
return;
|
||||
// return;
|
||||
}
|
||||
|
||||
try {
|
||||
@@ -133,6 +133,10 @@ public class MapSheetInferenceJobService {
|
||||
externalHttpClient.call(url, HttpMethod.GET, null, jsonHeaders(), String.class);
|
||||
|
||||
int status = result.statusCode();
|
||||
if (status == 404) {
|
||||
log.info("Batch not found. batchId={}", batchId);
|
||||
return null;
|
||||
}
|
||||
if (status < 200 || status >= 300) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user