mirror of
https://github.com/markqvist/LXMF
synced 2026-11-27 13:52:19 +00:00
Improved opportunistic delivery performance
This commit is contained in:
1 parent
05f144ae50
commit
ac2c9c3a9b
1 file changed
+1
-1
+1
-1
@@ -15,7 +15,7 @@ class LXMFDeliveryAnnounceHandler:
|
||||
def received_announce(self, destination_hash, announced_identity, app_data):
|
||||
for lxmessage in self.lxmrouter.pending_outbound:
|
||||
if destination_hash == lxmessage.destination_hash:
|
||||
if lxmessage.method == LXMessage.DIRECT:
|
||||
if lxmessage.method == LXMessage.DIRECT or lxmessage.method == LXMessage.OPPORTUNISTIC:
|
||||
lxmessage.next_delivery_attempt = time.time()
|
||||
|
||||
while self.lxmrouter.processing_outbound:
|
||||
|
||||
Reference in new issue
Block a user