mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03: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);
|
auto dest = m_Requests.FindRequest (ident);
|
||||||
if (dest)
|
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
|
// try to send next requests
|
||||||
m_Requests.SendNextRequest (dest);
|
m_Requests.SendNextRequest (dest);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user