Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same priority packets processed in enqueue order #4608

Merged
merged 6 commits into from
Sep 4, 2024

Conversation

gitbisector
Copy link
Contributor

@GUVWAF,

This change fixes the priority comparator to greater-than and treats packets within a single priority in fifo order.

Finally seeing some acks again in our very busy mesh and hours long logging shows no more huge latency tail for random packets that happen to have a high sequence number.

@CLAassistant
Copy link

CLAassistant commented Sep 1, 2024

CLA assistant check
All committers have signed the CLA.

@GUVWAF GUVWAF self-requested a review September 2, 2024 06:47
Copy link
Member

@GUVWAF GUVWAF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really like this solution, it’s even simpler than the previous implementation. I left one comment though.

Also: can you please sign the CLA?

src/mesh/MeshPacketQueue.cpp Outdated Show resolved Hide resolved
@gitbisector
Copy link
Contributor Author

Really like this solution, it’s even simpler than the previous implementation. I left one comment though.

Also: can you please sign the CLA?

Working on the CLA, expect legal rep to reply tomorrow as today is a holiday here.

@thebentern thebentern merged commit bb9ddcf into meshtastic:master Sep 4, 2024
104 checks passed
@gitbisector gitbisector deleted the txqueue-prio-fifo branch September 4, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants