mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
run ipv6 peer test again if still testing
This commit is contained in:
parent
fffa550bb0
commit
5ad4c2a65e
2 changed files with 12 additions and 9 deletions
|
@ -76,9 +76,9 @@ namespace transport
|
|||
}
|
||||
};
|
||||
|
||||
const size_t SESSION_CREATION_TIMEOUT = 10; // in seconds
|
||||
const size_t SESSION_CREATION_TIMEOUT = 15; // in seconds
|
||||
const int PEER_TEST_INTERVAL = 71; // in minutes
|
||||
const int MAX_NUM_DELAYED_MESSAGES = 50;
|
||||
const int MAX_NUM_DELAYED_MESSAGES = 150;
|
||||
class Transports
|
||||
{
|
||||
public:
|
||||
|
@ -131,7 +131,7 @@ namespace transport
|
|||
|
||||
bool IsRestrictedPeer(const i2p::data::IdentHash & ident) const;
|
||||
|
||||
void PeerTest ();
|
||||
void PeerTest (bool ipv4 = true, bool ipv6 = true);
|
||||
|
||||
void SetCheckReserved (bool check) { m_CheckReserved = check; };
|
||||
bool IsCheckReserved () { return m_CheckReserved; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue