mirror of
https://github.com/minio/minio.git
synced 2025-02-02 17:35:58 -05:00
set diskMaxConcurrent to 32 if nrRequests is lower
This commit is contained in:
parent
c0f2f84285
commit
483389f2e2
@ -200,7 +200,7 @@ func newXLStorageDiskIDCheck(storage *xlStorage, healthCheck bool) *xlStorageDis
|
||||
diskMaxConcurrent = 512
|
||||
if storage.rotational {
|
||||
diskMaxConcurrent = int(storage.nrRequests) / 2
|
||||
if diskMaxConcurrent == 0 {
|
||||
if diskMaxConcurrent < 32 {
|
||||
diskMaxConcurrent = 32
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user