more fixes

This commit is contained in:
Jeff Becker 2016-07-28 12:17:24 -04:00
parent a2e01f8a53
commit 3b66bba92e
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
2 changed files with 7 additions and 4 deletions

View file

@ -436,9 +436,10 @@ namespace client
std::make_pair (localDestination->GetIdentHash (), inPort),
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);
LogPrint(eLogInfo, "Clients: Set Max Conns To ", maxConns);
serverTunnel->SetMaxConnsPerMinute(maxConns);
serverTunnel->Start ();
numServerTunnels++;
}
else