fix 修复 超时时间单位设置错误 应该是毫秒

This commit is contained in:
疯狂的狮子Li
2025-06-24 11:42:50 +08:00
parent 1c126dc5d3
commit 249d7bdcde

View File

@@ -39,7 +39,7 @@ public class SseEmitterManager {
Map<String, SseEmitter> emitters = USER_TOKEN_EMITTERS.computeIfAbsent(userId, k -> new ConcurrentHashMap<>());
// 创建一个新的 SseEmitter 实例,超时时间设置为 0 表示无限制
SseEmitter emitter = new SseEmitter(86400L);
SseEmitter emitter = new SseEmitter(86400000L);
emitters.put(token, emitter);