-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/#136 채팅 만료 이벤트 핸들러 추가 #138
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coke98
제가 이벤트 발행 코드를 만들어 놓고는 깜빡하고 이벤트 수신 코드를 작성해달라고 말씀을 못드렸네요 !
:(
뒤늦게 업무 부담을 드리게되어 죄송합니다! ㅠㅠ
+++
알맞게 수정해주셔서 감사합니다!
고생 많으셨습니다!
public void expireChatRoom() { | ||
eventPublisher.publishEvent(new ChatRoomExpireEvent()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
직접 수정해주셔서 감사합니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
List matchingResults를 이벤트로 전송하지 않으니,
매칭 로직중 메모리 절약도 생각할 수 있겠네요! 👍
import java.util.Set; | ||
|
||
public record ChatRoomExpireEvent(Set<MemberPair> matchedPairs) { | ||
public record ChatRoomExpireEvent() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
레코드가 비어있어도 정상적으로 이벤트가 발송되는 사실을 처음 알았습니다!
고생하셨습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
클래스 메타정보로 이벤트를 식별하는군요! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다 👍
import java.util.Set; | ||
|
||
public record ChatRoomExpireEvent(Set<MemberPair> matchedPairs) { | ||
public record ChatRoomExpireEvent() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
클래스 메타정보로 이벤트를 식별하는군요! 👍
public void expireChatRoom() { | ||
eventPublisher.publishEvent(new ChatRoomExpireEvent()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
List matchingResults를 이벤트로 전송하지 않으니,
매칭 로직중 메모리 절약도 생각할 수 있겠네요! 👍
50000ms->20000ms 재수정 ref: #137
🤨 Motivation
🔑 Key Changes
🙏 To Reviewers