Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📍 이슈 번호
🛠️ 작업 내용
1. FcmUtils 생성
firebase와 연결되는 로직들을 별도로 분리했습니다. b344940
2. 알림 비동기 처리
AS-IS
동기처리 = A 알림 전송 -> A 응답 -> B 알림 전송 -> B 응답
IceButler_Server/src/main/java/com/example/icebutler_server/alarm/service/NotificationServiceImpl.java
Line 77 in 6b7656a
TO-BE
비동기처리 - enqueue 이용
IceButler_Server/src/main/java/com/example/icebutler_server/global/util/FcmUtils.java
Lines 46 to 57 in c613918
참고자료 참고자료2
3. 로그
일부만 우선 남겨뒀는데, 로그 남기는 기준이나 네이밍 추후 정하면 좋을 듯합니도!
🎸 기타 사항
변경해서 에러 없애고자 코드 수정했습니다. c613918