refactor(fight): 优化战斗逻辑代码结构,清理冗余代码

This commit is contained in:
1
2025-11-06 13:43:16 +00:00
parent f687599d1a
commit e2578f6c63

View File

@@ -221,7 +221,7 @@ func NewClientData(c gnet.Conn) *ClientData {
Wsmsg: &WsCodec{},
}
cd.LF = lockfree.NewLockfree[[]byte](
1024*1024,
8,
cd,
lockfree.NewSleepBlockStrategy(time.Millisecond),
)