Skip to content

Commit 9654270

Browse files
Ji-minhyeokJi-minhyeok
authored andcommitted
refactor: Row Lock 경합 제거를 위한 레슨 참가자 수 업데이트 로직 디커플링 (#222)
1 parent 3d823b2 commit 9654270

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/threestar/trainus/domain/lesson/issue/LessonStockReconciliationScheduler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void reconcileStock() {
6767
int busyCount = (busyCountStr == null) ? 0 : Integer.parseInt(busyCountStr);
6868

6969
if (busyCount > 0) {
70-
log.info("Lesson [{}] is still being processed by batch consumers (Busy count: {}). Skipping reconciliation for now.",
70+
log.info("Lesson [{}] is still being processed by batch consumers (Busy count: {}). Skipping reconciliation for now.",
7171
lessonId, busyCount);
7272
continue;
7373
}
@@ -96,7 +96,7 @@ public void reconcileStock() {
9696
coreRedisTemplate.opsForSet().remove(dirtySetKey, lessonIdStr);
9797

9898
processedCount++;
99-
log.debug("Reconciled lesson [{}] to actual count [{}] and stock [{}]",
99+
log.debug("Reconciled lesson [{}] to actual count [{}] and stock [{}]",
100100
lessonId, actualParticipantCount, currentStock);
101101
}
102102
} catch (Exception e) {

0 commit comments

Comments
 (0)