[KC-103] 추론 실행 배치 수정

This commit is contained in:
2026-01-13 15:51:33 +09:00
parent 65bac54db5
commit 8b212504d4
5 changed files with 54 additions and 34 deletions

View File

@@ -104,13 +104,13 @@ public class InferenceResultCoreService {
buffer.add(e);
if (buffer.size() == CHUNK) {
this.flushChunk(buffer);
flushChunk(buffer);
buffer.clear();
}
}
if (!buffer.isEmpty()) {
this.flushChunk(buffer);
flushChunk(buffer);
buffer.clear();
}

View File

@@ -144,8 +144,9 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
return Optional.ofNullable(
queryFactory
.selectFrom(mapSheetLearnEntity)
.where(mapSheetLearnEntity.status.eq(status))
.limit(1)
.where(mapSheetLearnEntity.id.eq(106L))
// .where(mapSheetLearnEntity.status.eq(status))
// .limit(1)
.fetchOne());
}