This is not GitHub.com

Like what you see? Install OctoLinker now!

Skip to content
#

micro

Here are 557 public repositories matching this topic...

dk-lockdown
dk-lockdown commented Apr 26, 2020

If you r going to wait response,or block the goroutine in a getty session(tcp conection), task pool can not be null。

func (s *Server) newSession(session getty.Session) error {
	var (
		ok      bool
		tcpConn *net.TCPConn
	)
	
	// 省略部分代码...
	session.SetTaskPool(srvGrpool)
	return nil
}

ortherwise,handleTcpPackage() will blocked,led to the response missing

func (s *session

Improve this page

Add a description, image, and links to the micro topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the micro topic, visit your repo's landing page and select "manage topics."

Learn more