Increase context timeout for bandwidth throttled reader (#12820)

increase default timeout up to one hour for toy setups.

fixes #12812
This commit is contained in:
Poorna Krishnamoorthy
2021-07-28 15:20:01 -07:00
committed by GitHub
parent bfbdb8f0a8
commit b6cd54779c
4 changed files with 24 additions and 3 deletions

View File

@@ -346,6 +346,7 @@ func (sys *BucketTargetSys) getRemoteTargetClient(tcfg *madmin.BucketTarget) (*T
getRemoteTargetInstanceTransportOnce.Do(func() {
getRemoteTargetInstanceTransport = NewRemoteTargetHTTPTransport()
})
api, err := minio.New(tcfg.Endpoint, &miniogo.Options{
Creds: creds,
Secure: tcfg.Secure,