mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-10 11:28:27 +01:00
precise bandwidth limit
This commit is contained in:
parent
f70ee480ba
commit
876375f2c3
1 changed files with 1 additions and 0 deletions
|
@ -388,6 +388,7 @@ namespace i2p
|
||||||
else if (limit > 48) { SetBandwidth('M'); }
|
else if (limit > 48) { SetBandwidth('M'); }
|
||||||
else if (limit > 12) { SetBandwidth('L'); }
|
else if (limit > 12) { SetBandwidth('L'); }
|
||||||
else { SetBandwidth('K'); }
|
else { SetBandwidth('K'); }
|
||||||
|
m_BandwidthLimit = limit; // set precise limit
|
||||||
}
|
}
|
||||||
|
|
||||||
void RouterContext::SetShareRatio (int percents)
|
void RouterContext::SetShareRatio (int percents)
|
||||||
|
|
Loading…
Add table
Reference in a new issue