mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
don't stop lookup if number of attempts < 3
This commit is contained in:
parent
c515f49903
commit
5adbc2c3fe
|
@ -991,7 +991,7 @@ namespace data
|
|||
auto dest = m_Requests.FindRequest (ident);
|
||||
if (dest)
|
||||
{
|
||||
if (num > 0)
|
||||
if (num > 0 || dest->GetNumExcludedPeers () < 3) // before 3-rd attempt might be just bad luck
|
||||
// try to send next requests
|
||||
m_Requests.SendNextRequest (dest);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue