exclude router from tunnel build for 2.5 minutes if doesn't reply too often

This commit is contained in:
orignal 2023-01-21 19:40:43 -05:00
parent ac287a896c
commit 067fb45a25

View File

@ -148,6 +148,8 @@ namespace data
{
m_NumTunnelsNonReplied++;
UpdateTime ();
if (m_NumTunnelsNonReplied > 2*m_NumTunnelsAgreed && m_NumTunnelsNonReplied > 3)
m_LastDeclineTime = i2p::util::GetSecondsSinceEpoch ();
}
bool RouterProfile::IsLowPartcipationRate () const