From 7ec3e82b0f82eff78ef27e1e54bc5f422e14a63d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B2=B3?= Date: Mon, 18 Mar 2019 14:38:15 +0800 Subject: [PATCH] no message --- lib/mux/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mux/conn.go b/lib/mux/conn.go index 80e75180..9e66577f 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++