Commit 2c3f467e authored by Daniel Wolf's avatar Daniel Wolf
Browse files

The slowest server was wrong

parent 50300657
Pipeline #4787 passed with stage
in 6 minutes and 45 seconds
......@@ -82,7 +82,7 @@ class SpeedTestActivity : BaseActivity() {
val avgLatency = testResults!!.sumBy { it.latency ?: 0 }/testResults!!.size
val fastestServer = testResults!!.minBy { it.latency ?: Integer.MAX_VALUE}
val slowestServer = testResults!!.minBy { it.latency ?: 0}
val slowestServer = testResults!!.maxBy { it.latency ?: 0}
showInfoTextDialog(this,
getString(R.string.dialog_speedresult_title),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment