summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/fileserv/IncomingDataTransfer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/fileserv/IncomingDataTransfer.java b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/fileserv/IncomingDataTransfer.java
index aa3047af..b378b3cf 100644
--- a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/fileserv/IncomingDataTransfer.java
+++ b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/fileserv/IncomingDataTransfer.java
@@ -403,7 +403,7 @@ public class IncomingDataTransfer extends IncomingTransferBase {
speedTimestamp = System.currentTimeMillis();
}
}
- if (diff != 0 && diff < 100000000) {
+ if (diff >= 1000 && diff < 100000000) {
// Time to evaluate the situation
long speed = bytes / (diff / 1000);
if (speed < SSC_ENABLE_THRES) {