From cab12d1a8971068748be65c2d6f01189f28e8700 Mon Sep 17 00:00:00 2001 From: unclejack Date: Fri, 28 Aug 2015 23:13:02 +0300 Subject: [PATCH] pkg/ioutils: lower bufReader reset timeout Signed-off-by: Cristian Staretu --- ioutils/readers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ioutils/readers.go b/ioutils/readers.go index 6b03210..bb96fe1 100644 --- a/ioutils/readers.go +++ b/ioutils/readers.go @@ -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{},