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 0a1ea58 commit 423d231
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private void deleteEvent(String token, Long userId) {
}

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

0 comments on commit 423d231

Please sign in to comment.