This commit is contained in:
Konstantin Seiler 2019-11-02 10:00:08 +11:00
parent 1fcacf78cd
commit 216bdc0f6f

View file

@ -731,7 +731,7 @@ impl AudioFileFetch {
// record the response time // record the response time
self.network_response_times_ms.push(response_time_ms); self.network_response_times_ms.push(response_time_ms);
// prone old response times. Keep at most three. // prune old response times. Keep at most three.
while self.network_response_times_ms.len() > 3 { while self.network_response_times_ms.len() > 3 {
self.network_response_times_ms.remove(0); self.network_response_times_ms.remove(0);
} }