mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
update RouterInfo if congestion cap changed
This commit is contained in:
parent
6d7f20961f
commit
46e4f4aea5
3 changed files with 6 additions and 3 deletions
|
@ -1397,7 +1397,8 @@ namespace i2p
|
|||
{
|
||||
if (ecode != boost::asio::error::operation_aborted)
|
||||
{
|
||||
m_RouterInfo.SetHighCongestion (IsHighCongestion ());
|
||||
if (m_RouterInfo.SetHighCongestion (IsHighCongestion ()))
|
||||
UpdateRouterInfo ();
|
||||
ScheduleCongestionUpdate ();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue