추론진행 배치 시간 수정
This commit is contained in:
@@ -350,7 +350,8 @@ public class MapSheetMngService {
|
||||
List<MngDto> mngList = mapSheetMngCoreService.findMapSheetMngList();
|
||||
List<MngYyyyDto> yearList =
|
||||
mngList.stream()
|
||||
.filter(dto -> "DONE".equals(dto.getMngState()) || "TAKINGERROR".equals(dto.getMngState()))
|
||||
.filter(
|
||||
dto -> "DONE".equals(dto.getMngState()) || "TAKINGERROR".equals(dto.getMngState()))
|
||||
.map(dto -> new MngYyyyDto(dto.getMngYyyy(), dto.getMngPath()))
|
||||
.toList();
|
||||
|
||||
|
||||
@@ -53,8 +53,8 @@ public class MapSheetInferenceJobService {
|
||||
@Value("${inference.jar-path}")
|
||||
private String jarPath;
|
||||
|
||||
/** 추론 진행 배치 1분 */
|
||||
@Scheduled(fixedDelay = 60_000)
|
||||
/** 추론 진행 배치 1분 60_000 */
|
||||
@Scheduled(fixedDelay = 30_000)
|
||||
public void runBatch() {
|
||||
if (isLocalProfile()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user