mirror of
https://github.com/ehang-io/nps.git
synced 2025-08-31 17:56:56 +00:00
no message
This commit is contained in:
@@ -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++
|
||||
|
Reference in New Issue
Block a user