You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check to see if a message was received should happen before RX queue delay #1385
Looking at the code, I believe we are currently checking if a packet has been seen when it is processed. For packets with bad signal we use an RX queue that can have packets wait for 32 second at most. I believe this might be aiding in in unwanted retransmits, especially on busy nodes.
Also see #1380 as possible mitigation. But aside from that, I think we should mark packets as seen as soon as they come in, not when they are being processed after the delay.
changed the title [-]Check to see if a message was received should happen before RX queue[/-][+]Check to see if a message was received should happen before RX queue delay[/+]on Jan 13, 2026
Are you able to explain a bit more what you mean? Maybe link to the part of the code you are referring to?
Sorry for the radio silence, please see PR #1380. It doesn't fix this issue entirely but it's a step in the right direction.
What I was actually referring to was that if rxdelay is set to a value larger than 0, it is possible for this situation to occur:
Packet with hash HASH1 received by node X
Packet with hash HASH1 (identical) received by node Y with very bad signal strength, high txdelay -> packet is queued internally by some time (20 seconds max iirc?)
Other messages arrive
Packet received in step 2 is processed, but enough messages arrived in the mean time that we have forgotten about 1, the packet with HASH1 received by node X.
So ideally, to fix this, before queuing the processing of packet received in step 2, we would drop it immediately if we have it in our cache already.
I think the scenario isn't very likely unless you are an extremely busy node and have rxdelay set to >=0.
I hope this clears up the issue I tried to address.
This issue is stale because it has been open for 60 days with no activity. Remove the stale label or add a comment if this issue is still relevant, otherwise this issue will automatically close in 7 days.
Activity
[-]Check to see if a message was received should happen before RX queue[/-][+]Check to see if a message was received should happen before RX queue delay[/+]oltaco commentedon Jan 16, 2026
Are you able to explain a bit more what you mean? Maybe link to the part of the code you are referring to?
weebl2000 commentedon Feb 27, 2026
Sorry for the radio silence, please see PR #1380. It doesn't fix this issue entirely but it's a step in the right direction.
What I was actually referring to was that if rxdelay is set to a value larger than 0, it is possible for this situation to occur:
So ideally, to fix this, before queuing the processing of packet received in step 2, we would drop it immediately if we have it in our cache already.
I think the scenario isn't very likely unless you are an extremely busy node and have rxdelay set to >=0.
I hope this clears up the issue I tried to address.
github-actions commentedon Jul 9, 2026
This issue is stale because it has been open for 60 days with no activity. Remove the stale label or add a comment if this issue is still relevant, otherwise this issue will automatically close in 7 days.
github-actions commentedon Aug 29, 2026
This issue was closed because it has been inactive for 7 days since being marked as stale.