mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
site replication turn off retry login for admin API calls (#18039)
additionally also mark site offline if n/w is down
This commit is contained in:
@@ -113,9 +113,10 @@ func init() {
|
||||
shardDiskTimeDelta = 1 * time.Minute
|
||||
}
|
||||
|
||||
// All minio-go API operations shall be performed only once,
|
||||
// All minio-go and madmin-go API operations shall be performed only once,
|
||||
// another way to look at this is we are turning off retries.
|
||||
minio.MaxRetry = 1
|
||||
madmin.MaxRetry = 1
|
||||
}
|
||||
|
||||
const consolePrefix = "CONSOLE_"
|
||||
|
||||
Reference in New Issue
Block a user