Skip to content

Extending PR #1821 fix to PR #1773 for sending when bitrate is set#1848

Merged
swlars merged 1 commit intoesnet:masterfrom
davidBar-On:issue-1847-second-fix-to-send-when-bitrate-limit-is-set
Mar 5, 2025
Merged

Extending PR #1821 fix to PR #1773 for sending when bitrate is set#1848
swlars merged 1 commit intoesnet:masterfrom
davidBar-On:issue-1847-second-fix-to-send-when-bitrate-limit-is-set

Conversation

@davidBar-On
Copy link
Contributor

@davidBar-On davidBar-On commented Feb 28, 2025

Further fix to #1773 that was partially fixed by #1821. This fix here is making sure that after sending, the conditions for green light will be evaluated if no message was send. The issue was actually caused by wrong copy/paste (did not copy the || message_sent == 0) 😞...

@bmah888, not that this seems to be a quite urgent issue. It happens with short packets much more frequently (this is why I didn't find it in my tests). My understanding is that this is because the long enough delays between packets, the micro-sleep mechanism resolution is good enough, and the delays between packets are bigger for large packets.

@swlars
Copy link
Contributor

swlars commented Mar 5, 2025

Looks good! Thanks for the pull request.

@swlars swlars merged commit 3c725cc into esnet:master Mar 5, 2025
3 checks passed
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.

2 participants