update RouterInfo if congestion cap changed

This commit is contained in:
orignal committed 2023-03-07 13:09:07 -05:00
1 parent 6d7f20961f
commit 46e4f4aea5
3 files changed
+6 -3

No files matched your search

+2 -1
View File
@@ -1397,7 +1397,8 @@ namespace i2p
{
if (ecode != boost::asio::error::operation_aborted)
{
m_RouterInfo.SetHighCongestion (IsHighCongestion ());
if (m_RouterInfo.SetHighCongestion (IsHighCongestion ()))
UpdateRouterInfo ();
ScheduleCongestionUpdate ();
}
}