refactor: 更新WebSocket相关测试和location_broadcast模块
- 更新location_broadcast网关以支持原生WebSocket - 修改WebSocket认证守卫和中间件 - 更新相关的测试文件和规范 - 添加WebSocket测试工具 - 完善Zulip服务的测试覆盖 技术改进: - 统一WebSocket实现架构 - 优化性能监控和限流中间件 - 更新测试用例以适配新的WebSocket实现
This commit is contained in:
@@ -158,6 +158,13 @@ export class SessionCleanupService implements OnModuleInit, OnModuleDestroy {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取当前定时器引用(用于测试)
|
||||
*/
|
||||
getCleanupInterval(): NodeJS.Timeout | null {
|
||||
return this.cleanupInterval;
|
||||
}
|
||||
|
||||
/**
|
||||
* 执行一次清理
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user