diff --git a/lib/mux/conn.go b/lib/mux/conn.go index 80e7518..9e66577 100644 --- a/lib/mux/conn.go +++ b/lib/mux/conn.go @@ -115,7 +115,7 @@ func (s *conn) write(buf []byte, ch chan struct{}) { start := 0 l := len(buf) for { - if s.hasWrite > 10 { + if s.hasWrite > 50 { <-s.getStatusCh } s.hasWrite++