update RouterInfo if congestion cap changed

This commit is contained in:
orignal 2023-03-07 13:09:07 -05:00
parent 6d7f20961f
commit 46e4f4aea5
3 changed files with 6 additions and 3 deletions

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 ();
}
}