Compare commits

...
3 Commits
Author SHA1 Message Date
Mark Qvist 2812a07165 Cleanup 2023-11-02 18:29:46 +01:00
Mark Qvist 10be1383e5 Updated version and dependencies 2023-11-02 12:48:24 +01:00
Mark Qvist 4d356bcda8 Tweaked timing 2023-11-02 04:36:51 +01:00
3 changed files with 4 additions and 4 deletions

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ class LXMRouter:
MAX_DELIVERY_ATTEMPTS = 5
PROCESSING_INTERVAL = 4
DELIVERY_RETRY_WAIT = 7
PATH_REQUEST_WAIT = 5
PATH_REQUEST_WAIT = 7
LINK_MAX_INACTIVITY = 10*60
MESSAGE_EXPIRY = 30*24*60*60
@@ -1221,7 +1221,7 @@ class LXMRouter:
else:
RNS.log("Starting outbound processing for "+str(lxmessage)+" to "+RNS.prettyhexrep(lxmessage.get_destination().hash), RNS.LOG_DEBUG)
# Outbound handling for opportunistic messages
if lxmessage.method == LXMessage.OPPORTUNISTIC:
if lxmessage.method == LXMessage.OPPORTUNISTIC:
if lxmessage.delivery_attempts <= LXMRouter.MAX_DELIVERY_ATTEMPTS:
if not hasattr(lxmessage, "next_delivery_attempt") or time.time() > lxmessage.next_delivery_attempt:
lxmessage.delivery_attempts += 1
+1 -1
View File
@@ -1 +1 @@
__version__ = "0.3.7"
__version__ = "0.3.8"
+1 -1
View File
@@ -25,6 +25,6 @@ setuptools.setup(
'lxmd=LXMF.Utilities.lxmd:main',
]
},
install_requires=['rns>=0.6.3'],
install_requires=['rns>=0.6.4'],
python_requires='>=3.7',
)