diff --git a/core/src/main/groovy/com/muwire/core/download/DownloadSession.groovy b/core/src/main/groovy/com/muwire/core/download/DownloadSession.groovy index 0697548d..3c4d74ac 100644 --- a/core/src/main/groovy/com/muwire/core/download/DownloadSession.groovy +++ b/core/src/main/groovy/com/muwire/core/download/DownloadSession.groovy @@ -196,7 +196,7 @@ class DownloadSession { long interval = timestamps.last - timestamps[idx] if (interval == 0) - interval = 0.001 + interval = 1 for (int i = idx; i < SAMPLES; i++) totalRead += reads[idx] (int)(totalRead * 1000.0 / interval)