Skip to content

[Feat]: 회원 자동 충전 배치 기능 작성#111

Merged
khozan0120 merged 11 commits intomainfrom
feature/auto_join_remittance
Aug 11, 2025
Merged

[Feat]: 회원 자동 충전 배치 기능 작성#111
khozan0120 merged 11 commits intomainfrom
feature/auto_join_remittance

Conversation

@ss7622
Copy link
Copy Markdown
Member

@ss7622 ss7622 commented Aug 11, 2025

📌 관련 이슈

Close #101

📄 PR 상세 내용

  • 이탈한 회원을 체크하여 자동으로 신규 그룹에서 빼와 채우는 로직을 구현하였습니다.
  • 그룹의 이탈자가 많은 순대로 먼저 채우며,
  • 신규 그룹에서 가장 먼저 대기하고 있던 사람부터 빼와서 기존 그룹에 채우도록 하였습니다.
  • 스케쥴러에 분산락을 적용해 중복 실행을 방지했습니다.

📸 이미지 (테스트 이미지 필수)

테스트 이전 그룹의 상태

image

예상 결과

이후 예상 결과
6조에 2명 넘거가고 7조는 0명이 됨

2조는 30명이 되고 3조는 0명이 됨

결과

image 예상 결과대로 바뀐 것을 확인할 수 있습니다.

@ss7622 ss7622 self-assigned this Aug 11, 2025
@ss7622 ss7622 added enhancement New feature or request feature 기능 구현 labels Aug 11, 2025
@ss7622 ss7622 linked an issue Aug 11, 2025 that may be closed by this pull request
3 tasks
Copy link
Copy Markdown
Member

@khozan0120 khozan0120 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

로직짜느라 어려웠을텐데 고생하셨습니다!!

@khozan0120 khozan0120 merged commit f33d887 into main Aug 11, 2025
@khozan0120 khozan0120 deleted the feature/auto_join_remittance branch August 11, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature 기능 구현

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] 그룹 이탈자 자동 충전 기능 개발

2 participants