no message

pull/103/head v0.18.1
刘河 2019-03-18 14:38:15 +08:00
parent 7e93497f1a
commit 7ec3e82b0f
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ func (s *conn) write(buf []byte, ch chan struct{}) {
start := 0 start := 0
l := len(buf) l := len(buf)
for { for {
if s.hasWrite > 10 { if s.hasWrite > 50 {
<-s.getStatusCh <-s.getStatusCh
} }
s.hasWrite++ s.hasWrite++