mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08: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 实例,超时时间设置为一天 避免连接之后直接关闭浏览器导致连接停滞
 | 
			
		||||
        SseEmitter emitter = new SseEmitter(86400L);
 | 
			
		||||
        SseEmitter emitter = new SseEmitter(86400000L);
 | 
			
		||||
 | 
			
		||||
        emitters.put(token, emitter);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user