Skip to content

Commit

Permalink
feat: 트랜잭션 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Arachneee authored and pakxe committed Feb 5, 2025
1 parent b1abb3d commit 0a1ea58
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ private void deleteEvent(String token, Long userId) {
}

@Async
@Transactional
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT)
public void handleUserDelete(UserDeleteEvent userDeleteEvent) {
Long userId = userDeleteEvent.id();
Expand Down

0 comments on commit 0a1ea58

Please sign in to comment.