mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-26 10:10:24 +01:00
feat: bandwidth with bytes/kbytes/gbytes seconds and fix for style.css
This commit is contained in:
parent
1a958df8d3
commit
aeb6dddcb1
3 changed files with 51 additions and 12 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue