mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
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:
committed by
GitHub
parent
bfbdb8f0a8
commit
b6cd54779c
@@ -44,6 +44,7 @@ import (
|
||||
"github.com/minio/console/restapi"
|
||||
"github.com/minio/console/restapi/operations"
|
||||
"github.com/minio/kes"
|
||||
minio "github.com/minio/minio-go/v7"
|
||||
"github.com/minio/minio-go/v7/pkg/credentials"
|
||||
"github.com/minio/minio-go/v7/pkg/set"
|
||||
"github.com/minio/minio/internal/auth"
|
||||
@@ -104,6 +105,9 @@ func init() {
|
||||
},
|
||||
},
|
||||
}
|
||||
// Set number of max retries to 1 for minio-go clients
|
||||
minio.MaxRetry = 1
|
||||
|
||||
}
|
||||
|
||||
const consolePrefix = "CONSOLE_"
|
||||
|
||||
Reference in New Issue
Block a user