Skip to content

Commit

Permalink
Merge branch 'dev' into feature/notification
Browse files Browse the repository at this point in the history
  • Loading branch information
mixedtape authored Feb 2, 2024
2 parents ba0284c + 6ca3320 commit e945908
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public class NotificationService {


public SseEmitter addSseEmitter(Long userId) {
Notification notification = Notification.builder().message("dummy").build();
SseEmitter emitter = new SseEmitter(300000L);
try {
emitter.send(SseEmitter.event().name("connect").data("connect"));
Expand Down Expand Up @@ -165,4 +164,4 @@ private void sendNotificationToClients(Long userId, Notification notification) {
System.err.println("전송 실패");
}
}
}
}

0 comments on commit e945908

Please sign in to comment.