[KC-108] 배치 local은 실행안되게 방지
This commit is contained in:
@@ -53,6 +53,10 @@ public class MapSheetInferenceJobService {
|
|||||||
@Transactional
|
@Transactional
|
||||||
public void runBatch() {
|
public void runBatch() {
|
||||||
|
|
||||||
|
if ("local".equalsIgnoreCase(profile)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
InferenceBatchSheet batchSheet =
|
InferenceBatchSheet batchSheet =
|
||||||
inferenceResultCoreService.getInferenceResultByStatus(Status.IN_PROGRESS.getId());
|
inferenceResultCoreService.getInferenceResultByStatus(Status.IN_PROGRESS.getId());
|
||||||
|
|||||||
Reference in New Issue
Block a user