mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-19 05:41:47 +02:00
show tunnels queue size
This commit is contained in:
parent
cd8e9e59fa
commit
14f448f4c7
3 changed files with 10 additions and 1 deletions
|
@ -751,6 +751,8 @@ namespace util
|
|||
|
||||
void HTTPConnection::ShowTunnels (std::stringstream& s)
|
||||
{
|
||||
s << "Queue size:" << i2p::tunnel::tunnels.GetQueueSize () << "<br>";
|
||||
|
||||
for (auto it: i2p::tunnel::tunnels.GetOutboundTunnels ())
|
||||
{
|
||||
it->GetTunnelConfig ()->Print (s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue