mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
ilimit umner of simultaneous tunnel build requests per pool
This commit is contained in:
parent
84d6028454
commit
cb139226df
4 changed files with 19 additions and 8 deletions
|
@ -516,7 +516,7 @@ namespace tunnel
|
|||
LogPrint (eLogWarning, "Tunnel: Unexpected message type ", (int) typeID);
|
||||
}
|
||||
|
||||
msg = (numMsgs <= MAX_NUM_TUNNEL_MSGS_AT_THE_TIME) ? m_Queue.Get () : nullptr;
|
||||
msg = (numMsgs <= MAX_TUNNEL_MSGS_BATCH_SIZE) ? m_Queue.Get () : nullptr;
|
||||
if (msg)
|
||||
{
|
||||
prevTunnelID = tunnelID;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue