Merge remote-tracking branch 'origin/feat/training_260202' into feat/training_260202
This commit is contained in:
@@ -45,6 +45,7 @@ public class ModelTrainJobCoreService {
|
|||||||
job.setQueuedDttm(queuedDttm != null ? queuedDttm : ZonedDateTime.now());
|
job.setQueuedDttm(queuedDttm != null ? queuedDttm : ZonedDateTime.now());
|
||||||
|
|
||||||
modelTrainJobRepository.save(job);
|
modelTrainJobRepository.save(job);
|
||||||
|
modelTrainJobRepository.flush();
|
||||||
return job.getId();
|
return job.getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -312,6 +312,7 @@ public class ModelTrainMngCoreService {
|
|||||||
master.setCurrentAttemptId(jobId);
|
master.setCurrentAttemptId(jobId);
|
||||||
|
|
||||||
// 필요하면 시작시간도 여기서 찍어줌
|
// 필요하면 시작시간도 여기서 찍어줌
|
||||||
|
modelMngRepository.flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 마지막 에러 메시지 초기화 - 재시작/새 실행 때 이전 에러 흔적 제거 */
|
/** 마지막 에러 메시지 초기화 - 재시작/새 실행 때 이전 에러 흔적 제거 */
|
||||||
@@ -323,6 +324,7 @@ public class ModelTrainMngCoreService {
|
|||||||
.orElseThrow(() -> new IllegalArgumentException("Model not found: " + modelId));
|
.orElseThrow(() -> new IllegalArgumentException("Model not found: " + modelId));
|
||||||
|
|
||||||
master.setLastError(null);
|
master.setLastError(null);
|
||||||
|
modelMngRepository.flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 중단 처리(옵션) - cancel에서 쓰려고 하면 같이 구현 */
|
/** 중단 처리(옵션) - cancel에서 쓰려고 하면 같이 구현 */
|
||||||
|
|||||||
Reference in New Issue
Block a user