Commit Graph

11 Commits

Author SHA1 Message Date
kercylan98 8f4e65219e test: concurrent.Pool 增加测试用例 2023-12-23 18:13:57 +08:00
kercylan98 3877b28baa refactor: 优化 concurrent.Pool 的实现,移除构造函数中对 size 的要求。更改为使用 sync.Pool 的内置实现 2023-12-23 18:13:13 +08:00
kercylan98 dd3f3ede07 other: 日志调用修改 2023-11-13 11:19:28 +08:00
kercylan98 64544e069d fix: 修复 concurrent.Pool 可选项无法使用的问题 2023-10-21 18:19:31 +08:00
kercylan98 74a6b545c2 feat: concurrent 包 新增 NewMapPool 函数,支持创建 map 对象池 2023-10-21 11:16:01 +08:00
kercylan98 1bc32e2026 docs: 修复 server 在 WebSocket 模式下超时时间无效的问题 2023-09-19 15:45:12 +08:00
kercylan98 3ad1330cd9 feat: concurrent.Pool 新增静默模式可选项 WithPoolSilent,在该模式下当缓冲区大小不足时,将不再输出警告日志 2023-09-19 12:41:13 +08:00
kercylan98 989b9da33d perf: 优化 concurrent.Pool 池对象不够用的日志打印为 1 秒一次,而不是频繁打印 2023-09-06 16:53:33 +08:00
kercylan98 64ecd459a1 feat: concurrent.Pool 新增 EAC 函数,用于动态调整缓冲区大小。优化超出缓冲区大小警告日志,增加堆栈信息,用于定位高频点 2023-08-21 16:06:44 +08:00
kercylan98 45c855a516 feat: 房间管理器实现 2023-07-26 12:03:51 +08:00
kercylan d0d2087fee refactor: 移除分段锁map实现及 hash.Map、hash.ReadonlyMap 接口,移除 asynchronous 包,同步包更名为 concurrent 2023-07-21 23:32:46 +08:00