Skip to content

Commit a834efb

Browse files
committed
feat: evnet listener (#215)
(# 입력 하고 이슈 선택) ### Proposed Changes (PR 목적과 변경사항을 적어주세요.) ### Code Review Point (리뷰어가 중점적으로 보면 좋을 부분을 적어주세요.) (cherry picked from commit 515f707)
1 parent 9c0b231 commit a834efb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/kotlin/com/ssak3/timeattack/notifications/service/PushNotificationListener.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ class PushNotificationListener(
7272
pushNotificationService.saveAll(pushNotifications)
7373
}
7474

75-
@Transactional(propagation = Propagation.REQUIRES_NEW)
7675
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT)
7776
fun deleteNotifications(event: DeleteTaskNotificationEvent) {
7877
logger.info("DeleteTaskAlarmEvent: $event")
@@ -101,7 +100,6 @@ class PushNotificationListener(
101100
pushNotificationService.save(pushNotification)
102101
}
103102

104-
@Transactional(propagation = Propagation.REQUIRES_NEW)
105103
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT)
106104
fun saveSupportNotifications(event: SupportNotificationSaveEvent) {
107105
logger.info("SupportNotificationSaveEvent: $event")

0 commit comments

Comments
 (0)