1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-18 06:11:49 -05:00

Remove packet from tracker after max attempts

This commit is contained in:
Hemna 2024-04-12 11:12:57 -04:00
parent f682890ef0
commit 4c2a40b7a7

View File

@ -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.