changed some profiling parameters

This commit is contained in:
orignal 2015-04-21 15:59:40 -04:00
parent 5f8356741e
commit c96b81206d

View File

@ -140,9 +140,9 @@ namespace data
{ {
auto total = m_NumTunnelsAgreed + m_NumTunnelsDeclined; auto total = m_NumTunnelsAgreed + m_NumTunnelsDeclined;
if (elapsedTime < 300) // if less than 5 minutes if (elapsedTime < 300) // if less than 5 minutes
return m_NumTunnelsNonReplied > 10*total; return m_NumTunnelsNonReplied > 5*(total + 1);
else else
return !total && m_NumTunnelsNonReplied > 20; return !total && m_NumTunnelsNonReplied*15 > elapsedTime;
} }
bool RouterProfile::IsBad () const bool RouterProfile::IsBad () const