diff --git a/LXMF/LXMPeer.py b/LXMF/LXMPeer.py index ca2138e..2f3d8a5 100644 --- a/LXMF/LXMPeer.py +++ b/LXMF/LXMPeer.py @@ -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: diff --git a/LXMF/_version.py b/LXMF/_version.py index 6849410..a82b376 100644 --- a/LXMF/_version.py +++ b/LXMF/_version.py @@ -1 +1 @@ -__version__ = "1.1.0" +__version__ = "1.1.1"