mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 15:21:45 +00:00
check if next manage time is too long
This commit is contained in:
1 parent
f22e10537b
commit
2e691b6655
1 file changed
+1
-1
@@ -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 ();
|
||||
|
||||
Reference in new issue
Block a user