mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Retry dht query in adnl-peer if peer does not respond for too long
This commit is contained in:
parent
4ddb14c136
commit
cae9ccfacf
2 changed files with 15 additions and 0 deletions
|
@ -266,6 +266,7 @@ class AdnlPeerPairImpl : public AdnlPeerPair {
|
|||
|
||||
td::Timestamp last_received_packet_ = td::Timestamp::never();
|
||||
td::Timestamp try_reinit_at_ = td::Timestamp::never();
|
||||
td::Timestamp drop_addr_list_at_ = td::Timestamp::never();
|
||||
|
||||
bool has_reverse_addr_ = false;
|
||||
td::Timestamp request_reverse_ping_after_ = td::Timestamp::now();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue