mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-29 09:48:47 +00:00
feat: bandwidth with bytes/kbytes/gbytes seconds and fix for style.css
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user