[KC-103] 추론 실행 배치 수정
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user