mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Reduce heal parallelism (#7155)
To avoid a large number of concurrent connections between minio servers and to reduce CPU pressure, it is better to limit the number of objects healed in parallel to number_of_CPUs.
This commit is contained in:
parent
ce870466ff
commit
2053b3414f
@ -719,7 +719,7 @@ func (h *healSequence) healBucket(bucket string) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
entries := runtime.NumCPU() * globalEndpoints.Nodes()
|
entries := runtime.NumCPU()
|
||||||
|
|
||||||
marker := ""
|
marker := ""
|
||||||
isTruncated := true
|
isTruncated := true
|
||||||
|
Loading…
Reference in New Issue
Block a user