mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
check if next manage time is too long
This commit is contained in:
parent
f22e10537b
commit
2e691b6655
@ -382,7 +382,7 @@ namespace tunnel
|
||||
|
||||
void TunnelPool::ManageTunnels (uint64_t ts)
|
||||
{
|
||||
if (ts > m_NextManageTime)
|
||||
if (ts > m_NextManageTime || ts + 2*TUNNEL_POOL_MANAGE_INTERVAL < m_NextManageTime) // in case if clock was adjusted
|
||||
{
|
||||
CreateTunnels ();
|
||||
TestTunnels ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user