ilimit umner of simultaneous tunnel build requests per pool

This commit is contained in:
orignal 2022-12-30 18:06:47 -05:00
parent 84d6028454
commit cb139226df
4 changed files with 19 additions and 8 deletions

View file

@ -30,6 +30,7 @@ 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;
const int TUNNEL_POOL_MAX_NUM_BUILD_REQUESTS = 2;
class Tunnel;
class InboundTunnel;