Merge pull request #15922 from unclejack/lower_reset_timeout_bufreader
pkg/ioutils: lower bufReader reset timeout
This commit is contained in:
commit
c143d975b7
1 changed files with 1 additions and 1 deletions
|
@ -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{},
|
||||
|
|
Loading…
Reference in a new issue