fix: 暂存
This commit is contained in:
@@ -69,8 +69,8 @@ public class SseController {
|
||||
emitter.send(SseEmitter.event()
|
||||
.name("heartbeat")
|
||||
.data(""));
|
||||
} catch (IOException e) {
|
||||
// 客户端已断开,清理
|
||||
} catch (Exception e) {
|
||||
// 客户端已断开(IOException)或响应已不可用(AsyncRequestNotUsableException)
|
||||
connectionManager.remove(userId);
|
||||
heartbeat.shutdown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user