Merge pull request #15922 from unclejack/lower_reset_timeout_bufreader

pkg/ioutils: lower bufReader reset timeout
This commit is contained in:
David Calavera 2015-08-31 18:43:45 +02:00
commit c143d975b7

View file

@ -72,7 +72,7 @@ type bufReader struct {
// NewBufReader returns a new bufReader.
func NewBufReader(r io.Reader) io.ReadCloser {
timeout := rand.New(rndSrc).Intn(120) + 180
timeout := rand.New(rndSrc).Intn(90)
reader := &bufReader{
buf: &bytes.Buffer{},