implement streaming limiting (initial)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user