mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
exclude router from tunnel build for 2.5 minutes if doesn't reply too often
This commit is contained in:
parent
ac287a896c
commit
067fb45a25
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue