mirror of
https://github.com/markqvist/LXMF
synced 2026-11-22 23:10:36 +00:00
Fixed failed PN peer path resolution not triggering sync backoff
This commit is contained in:
2 files changed
+5
-2
No files matched your search
+4
-1
@@ -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
@@ -1 +1 @@
|
||||
__version__ = "1.1.0"
|
||||
__version__ = "1.1.1"
|
||||
Reference in new issue
Block a user