wait even less
This commit is contained in:
parent
a1df9e32ec
commit
46b29ea22d
|
@ -182,7 +182,7 @@ func (s *Server) ListenAndServe() error {
|
|||
c.cancel()
|
||||
}
|
||||
|
||||
_, err = stream.Read(make([]byte, 3000))
|
||||
_, err = stream.Read(make([]byte, 30))
|
||||
if err != nil {
|
||||
ln.Error(err)
|
||||
c.cancel()
|
||||
|
|
Loading…
Reference in New Issue