From 4c2a40b7a7acc1a3f75a8086dd82964285890012 Mon Sep 17 00:00:00 2001 From: Hemna Date: Fri, 12 Apr 2024 11:12:57 -0400 Subject: [PATCH] Remove packet from tracker after max attempts --- aprsd/threads/tx.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aprsd/threads/tx.py b/aprsd/threads/tx.py index 3dbab16..63d2b5d 100644 --- a/aprsd/threads/tx.py +++ b/aprsd/threads/tx.py @@ -127,8 +127,7 @@ class SendPacketThread(aprsd_threads.APRSDThread): "Message Send Complete. Max attempts reached" f" {packet.retry_count}", ) - if not packet.allow_delay: - pkt_tracker.remove(packet.msgNo) + pkt_tracker.remove(packet.msgNo) return False # Message is still outstanding and needs to be acked.