1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-21 02:07:35 +08:00
parent a23662baba
commit b536f0974e
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ func (s *Server) Boot(serverid, port uint16) error {
//gnet.WithReadBufferCap(1024*64), // 读缓冲区64KB根据业务调整默认太小
// gnet.WithWriteBufferCap(1024*64), // 写缓冲区64KB
gnet.WithLockOSThread(true), // 绑定goroutine到OS线程减少上下文切换
//gnet.WithLockOSThread(true), // 绑定goroutine到OS线程减少上下文切换
)
if err != nil {
panic(err)