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