mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-08-29 09:04:12 +00:00
fix 修复 超时时间单位设置错误 应该是毫秒
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user