mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-02 04:00:42 +00:00
no message
This commit is contained in:
parent
7e93497f1a
commit
7ec3e82b0f
@ -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++
|
||||
|
Loading…
x
Reference in New Issue
Block a user