diff --git a/README.md b/README.md index 387819e7d..ab3a2efd0 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ go tool pprof -http :8081 "http://125.208.20.223:54612/debug/debug/pprof/profile go tool pprof -http :8081 "http://127.0.0.1:9909/debug/pprof/profile" go tool pprof -http :8081 "http://202.189.15.67:62672/debug/pprof/profile" - +go tool pprof -http :8081 "http://8.162.8.203:9909/debug/pprof//profile" 详情查看 [文档](./docs) - [战斗](./docs/battle.md) diff --git a/common/socket/ServerEvent.go b/common/socket/ServerEvent.go index e5e5cbb1b..b2820906e 100644 --- a/common/socket/ServerEvent.go +++ b/common/socket/ServerEvent.go @@ -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)