Don't send rediscovery requests on local originator

pull/400/head
Mark Qvist 2023-11-02 13:33:12 +01:00
rodzic b161650ced
commit 237a45b2ca
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -334,7 +334,8 @@ class Transport:
if time.time() - last_path_request > Transport.PATH_REQUEST_MI:
RNS.log("Trying to rediscover path for "+RNS.prettyhexrep(link.destination.hash)+" since an attempted link was never established", RNS.LOG_DEBUG)
if not link.destination.hash in path_requests:
path_requests[link.destination.hash] = None
blocked_if = link_entry[4]
path_requests[link.destination.hash] = blocked_if
Transport.pending_links.remove(link)