Skip to content

Commit

Permalink
fix : 매주 월요일 자정에 탈퇴 처리된 이용자 하드 삭제 트랜잭션 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
RTUnu12 committed Sep 27, 2024
1 parent 5f6ea2d commit 2fe091b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public void deleteMember(Long memberId) {
/**
* 매주 월요일 자정에 탈퇴 처리된 이용자 하드 삭제
*/
@Transactional
@Scheduled(cron = "0 0 0 ? * MON")
public void deletedMemberAllDeleted() {
memberRepository.deleteAllByIsDeleteTrue();
Expand Down

0 comments on commit 2fe091b

Please sign in to comment.