mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
implement streaming limiting (initial)
This commit is contained in:
parent
17bfa35f77
commit
aa3a93b6a0
5 changed files with 129 additions and 10 deletions
|
@ -437,6 +437,8 @@ namespace client
|
|||
std::unique_ptr<I2PServerTunnel>(serverTunnel))).second)
|
||||
{
|
||||
serverTunnel->Start ();
|
||||
auto maxConns = section.second.get<uint32_t>(i2p::stream::I2CP_PARAM_STREAMING_MAX_CONNS_PER_MIN, i2p::stream::DEFAULT_MAX_CONNS_PER_MIN);
|
||||
serverTunnel->SetMaxConnsPerMinute(maxConns);
|
||||
numServerTunnels++;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue