refactor: 보정 대기 시간과 스케줄러 주기를 동기화하여 정합성 보정 신뢰성 강화#225
Merged
Ji-minhyeok merged 7 commits intoApr 25, 2026
Conversation
added 7 commits
April 23, 2026 17:04
…uple-participant-count-update # Conflicts: # src/main/java/com/threestar/trainus/domain/lesson/issue/LessonStockReconciliationScheduler.java
…al-project/WEB5_7_3star_BE into refactor/#221/decouple-participant-count-update
…uple-participant-count-update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 작업 개요
보정 스케줄러의 대기(안전 마진)를 실행 주기(30s)와 동기화하였으며,
안전 마진 시간의 증가는 리스너의 메시지 수신(
Fetch)과 실제 처리(onMessage) 사이의 시차를 설계 주기 안(안전 마진)으로 충분히 들어올 수 있도록 하여 정합성의 완성도를 높였습니다.🛠️ 작업 사항
리스너 처리 주기를 고려한 마진 동기화
보호 구간 확립
✅ PR 유형
✅ Check List
🔗 관련 이슈
💬 기타 참고 사항
리스너 -
onMessage()간의 시차에 대한 내용 정리입니다.onMessage를 실행하기 전까지는Busy Counter가 0으로 유지됩니다.