mirror of
https://github.com/craigerl/aprsd.git
synced 2025-09-05 06:37:53 -04:00
Remove packet from tracker after max attempts
This commit is contained in:
parent
f682890ef0
commit
4c2a40b7a7
@ -127,8 +127,7 @@ class SendPacketThread(aprsd_threads.APRSDThread):
|
|||||||
"Message Send Complete. Max attempts reached"
|
"Message Send Complete. Max attempts reached"
|
||||||
f" {packet.retry_count}",
|
f" {packet.retry_count}",
|
||||||
)
|
)
|
||||||
if not packet.allow_delay:
|
pkt_tracker.remove(packet.msgNo)
|
||||||
pkt_tracker.remove(packet.msgNo)
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Message is still outstanding and needs to be acked.
|
# Message is still outstanding and needs to be acked.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user