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

static-build
orignal 1 year ago
parent ac287a896c
commit 067fb45a25

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

Loading…
Cancel
Save