Remove IOPS autotuning and simplify autotune code (#13554)

This commit is contained in:
Krishna Srinivas
2021-11-02 13:03:00 -07:00
committed by GitHub
parent 1aa08f594d
commit 70160aeab3
2 changed files with 24 additions and 91 deletions
+1 -6
View File
@@ -952,11 +952,6 @@ func (a adminAPIHandlers) SpeedtestHandler(w http.ResponseWriter, r *http.Reques
}
throughputSize := size
iopsSize := size
if autotune {
iopsSize = 4 * humanize.KiByte
}
keepAliveTicker := time.NewTicker(500 * time.Millisecond)
defer keepAliveTicker.Stop()
@@ -982,7 +977,7 @@ func (a adminAPIHandlers) SpeedtestHandler(w http.ResponseWriter, r *http.Reques
}
}()
result, err := speedTest(ctx, throughputSize, iopsSize, concurrent, duration, autotune)
result, err := speedTest(ctx, throughputSize, concurrent, duration, autotune)
if <-endBlankRepliesCh != nil {
return
}