mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-12 17:16:53 +02:00
don't build tunnels for all pools at the time
This commit is contained in:
parent
af20b13c7a
commit
44ca315c75
4 changed files with 35 additions and 16 deletions
|
@ -230,7 +230,7 @@ namespace tunnel
|
|||
void ManagePendingTunnels ();
|
||||
template<class PendingTunnels>
|
||||
void ManagePendingTunnels (PendingTunnels& pendingTunnels);
|
||||
void ManageTunnelPools ();
|
||||
void ManageTunnelPools (uint64_t ts);
|
||||
|
||||
std::shared_ptr<ZeroHopsInboundTunnel> CreateZeroHopsInboundTunnel ();
|
||||
std::shared_ptr<ZeroHopsOutboundTunnel> CreateZeroHopsOutboundTunnel ();
|
||||
|
@ -249,7 +249,7 @@ namespace tunnel
|
|||
std::list<std::shared_ptr<TunnelPool>> m_Pools;
|
||||
std::shared_ptr<TunnelPool> m_ExploratoryPool;
|
||||
i2p::util::Queue<std::shared_ptr<I2NPMessage> > m_Queue;
|
||||
|
||||
|
||||
// some stats
|
||||
int m_NumSuccesiveTunnelCreations, m_NumFailedTunnelCreations;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue