diff options
author | Simon Rettberg | 2022-06-22 14:51:54 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-06-22 14:51:54 +0200 |
commit | be1769b495e4c1c3ff187d6c05a7fe2a325ec285 (patch) | |
tree | 8de1c2f9dd6dbf7ca9017fa1cd81e09527ec57b1 | |
parent | Don't restart reading after reaching end of input file (diff) | |
download | speedcheck-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.cpp | 4 |
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); } |