fixed #1373. Limit number of tunnels by 16

This commit is contained in:
orignal 2021-02-11 18:32:03 -05:00
parent 765ab60753
commit aa206d034d
2 changed files with 6 additions and 0 deletions

View file

@ -28,6 +28,8 @@ namespace i2p
namespace tunnel
{
const int TUNNEL_POOL_MANAGE_INTERVAL = 10; // in seconds
const int TUNNEL_POOL_MAX_INBOUND_TUNNELS_QUANTITY = 16;
const int TUNNEL_POOL_MAX_OUTBOUND_TUNNELS_QUANTITY = 16;
class Tunnel;
class InboundTunnel;