cleanup tags and ECIES sessions more often

This commit is contained in:
orignal
2024-11-11 21:59:19 -05:00
parent d88ba768d7
commit ce96f93c80
4 changed files with 6 additions and 4 deletions

View File

@@ -1510,7 +1510,7 @@ namespace i2p
if (m_CleanupTimer)
{
m_CleanupTimer->cancel ();
m_CleanupTimer->expires_from_now (boost::posix_time::minutes(ROUTER_INFO_CLEANUP_INTERVAL));
m_CleanupTimer->expires_from_now (boost::posix_time::seconds(ROUTER_INFO_CLEANUP_INTERVAL));
m_CleanupTimer->async_wait (std::bind (&RouterContext::HandleCleanupTimer,
this, std::placeholders::_1));
}