mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-04 23:27:58 +00:00
implement streaming limiting (initial)
This commit is contained in:
5 files changed
+129
-10
No files matched your search
@@ -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