Skip to content

Commit

Permalink
✨ 분석 중 racecondition 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Yong99 committed May 17, 2024
1 parent 3bbfca6 commit 55968f7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ public SchedulerResponseDTO.AIModelRunResponseDTO getIncompleteCardViews() throw
trip.setAnalyzingCount(trip.getAnalyzingCount() - 1);

tripRepository.save(trip);
tripFileRepository.save(tripFile);
log.info("tripfiles tripid : " + cTripFile.getTrip().getId());
tripFileRepository.save(cTripFile);
cardViewRepository.save(card);
successRecordNum++;
// 유저가 없는경우 map에 추가 있으면 카운트 추가
Expand Down

0 comments on commit 55968f7

Please sign in to comment.