feat: implement support batch replication (#15554)

This commit is contained in:
Harshavardhana committed 2022-10-05 23:00:43 -07:00
1 parent 4d761fda81
commit 2a13cc28f2
23 files changed
+5617 -172

No files matched your search

+2 -2
View File
@@ -45,8 +45,8 @@ func oldLinux() bool {
func setMaxResources() (err error) {
// Set the Go runtime max threads threshold to 90% of kernel setting.
sysMaxThreads, mErr := sys.GetMaxThreads()
if mErr == nil {
sysMaxThreads, err := sys.GetMaxThreads()
if err == nil {
minioMaxThreads := (sysMaxThreads * 90) / 100
// Only set max threads if it is greater than the default one
if minioMaxThreads > 10000 {