wait even less

This commit is contained in:
Cadey Ratio 2017-03-26 16:14:24 -07:00
parent a1df9e32ec
commit 46b29ea22d
1 changed files with 1 additions and 1 deletions

View File

@ -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()