feat: bandwidth with bytes/kbytes/gbytes seconds and fix for style.css

This commit is contained in:
wipedlifepotato 2025-08-18 19:43:52 +07:00
parent 1a958df8d3
commit aeb6dddcb1
3 changed files with 51 additions and 12 deletions

View file

@ -683,6 +683,9 @@ namespace i2p
else if (limit > (int)i2p::data::LOW_BANDWIDTH_LIMIT) { SetBandwidth('M'); }
else if (limit > 12) { SetBandwidth('L'); }
else { SetBandwidth('K'); }
LogPrint(eLogInfo, "RouterContext: Set bandwidth ", limit, ". kb/s");
m_BandwidthLimit = limit; // set precise limit
}