라이브 시작 알림 - 불필요한 로그 제거
This commit is contained in:
parent
13aa9838cd
commit
5b0be30c5b
|
@ -2,7 +2,6 @@ package kr.co.vividnext.sodalive.fcm
|
||||||
|
|
||||||
import kr.co.vividnext.sodalive.content.comment.AudioContentCommentRepository
|
import kr.co.vividnext.sodalive.content.comment.AudioContentCommentRepository
|
||||||
import kr.co.vividnext.sodalive.member.MemberRepository
|
import kr.co.vividnext.sodalive.member.MemberRepository
|
||||||
import org.slf4j.LoggerFactory
|
|
||||||
import org.springframework.scheduling.annotation.Async
|
import org.springframework.scheduling.annotation.Async
|
||||||
import org.springframework.stereotype.Component
|
import org.springframework.stereotype.Component
|
||||||
import org.springframework.transaction.annotation.Propagation
|
import org.springframework.transaction.annotation.Propagation
|
||||||
|
@ -35,8 +34,6 @@ class FcmSendListener(
|
||||||
private val memberRepository: MemberRepository,
|
private val memberRepository: MemberRepository,
|
||||||
private val contentCommentRepository: AudioContentCommentRepository
|
private val contentCommentRepository: AudioContentCommentRepository
|
||||||
) {
|
) {
|
||||||
private val logger = LoggerFactory.getLogger(this::class.java)
|
|
||||||
|
|
||||||
@Async
|
@Async
|
||||||
@TransactionalEventListener
|
@TransactionalEventListener
|
||||||
@Transactional(propagation = Propagation.REQUIRES_NEW)
|
@Transactional(propagation = Propagation.REQUIRES_NEW)
|
||||||
|
@ -125,7 +122,6 @@ class FcmSendListener(
|
||||||
container = fcmEvent.container
|
container = fcmEvent.container
|
||||||
)
|
)
|
||||||
|
|
||||||
logger.info("토큰 - $pushTokens")
|
|
||||||
for (tokens in pushTokens) {
|
for (tokens in pushTokens) {
|
||||||
pushService.send(
|
pushService.send(
|
||||||
tokens = tokens,
|
tokens = tokens,
|
||||||
|
|
Loading…
Reference in New Issue