Fixed failed PN peer path resolution not triggering sync backoff

This commit is contained in:
Mark Qvist committed 2026-07-30 13:34:16 +02:00
1 parent da1b9c0e08
commit c939e25361
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -298,7 +298,10 @@ class LXMPeer:
time.sleep(LXMPeer.PATH_REQUEST_GRACE)
if not RNS.Transport.has_path(self.destination_hash):
RNS.log("Path request was not answered, retrying sync with peer "+RNS.prettyhexrep(self.destination_hash)+" later", RNS.LOG_DEBUG)
self.sync_backoff += LXMPeer.SYNC_BACKOFF_STEP
self.next_sync_attempt = time.time() + self.sync_backoff
self.alive = False
RNS.log(f"Path request was not answered, retrying sync with peer {RNS.prettyhexrep(self.destination_hash)} later", RNS.LOG_DEBUG)
else:
if self.identity == None:
+1 -1
View File
@@ -1 +1 @@
__version__ = "1.1.0"
__version__ = "1.1.1"