pkg/ioutils: lower bufReader reset timeout
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
This commit is contained in:
		
							parent
							
								
									0ffa6f1bb6
								
							
						
					
					
						commit
						cab12d1a89
					
				
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue