summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2022-06-22 14:51:54 +0200
committerSimon Rettberg2022-06-22 14:51:54 +0200
commitbe1769b495e4c1c3ff187d6c05a7fe2a325ec285 (patch)
tree8de1c2f9dd6dbf7ca9017fa1cd81e09527ec57b1
parentDon't restart reading after reaching end of input file (diff)
downloadspeedcheck-be1769b495e4c1c3ff187d6c05a7fe2a325ec285.tar.gz
speedcheck-be1769b495e4c1c3ff187d6c05a7fe2a325ec285.tar.xz
speedcheck-be1769b495e4c1c3ff187d6c05a7fe2a325ec285.zip
Set maximum to ~120MB/s, about matches theoretical maximum of GBit NIC
-rw-r--r--src/datasource/networkspeed.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datasource/networkspeed.cpp b/src/datasource/networkspeed.cpp
index 2a67598..60d397d 100644
--- a/src/datasource/networkspeed.cpp
+++ b/src/datasource/networkspeed.cpp
@@ -53,11 +53,11 @@ qint64 NetworkSpeed::read()
const QList<qint64>& NetworkSpeed::getBars() const
{
- static QList<qint64> list = QList<qint64>() << ((qint64)1024 * 1024 * 10);
+ static QList<qint64> list = QList<qint64>() << ((qint64)1024 * 1024 * 12);
return list;
}
qint64 NetworkSpeed::getMaximum()
{
- return ((qint64)1024 * 1024 * 100);
+ return ((qint64)1024 * 1024 * 120);
}