Skip to content

feat: more straightforward throttling implementation - #1642

Open
Neko-Life wants to merge 8 commits into
brainboxdotcc:devfrom
Neko-Life:feat/more-straightforward-latency-calculation
Open

feat: more straightforward throttling implementation#1642
Neko-Life wants to merge 8 commits into
brainboxdotcc:devfrom
Neko-Life:feat/more-straightforward-latency-calculation

Conversation

@Neko-Life

Copy link
Copy Markdown
Member

Changes in this PR

  • More straightforward throttling implementation and less cpu intensive on windows.

Code change checklist

  • I have ensured that all methods and functions are fully documented using doxygen style comments.
  • My code follows the coding style guide.
  • I tested that my change works before raising the PR.
  • I have ensured that I did not break any existing API calls.
  • I have not built my pull request using AI, a static analysis tool or similar without any human oversight.

@netlify

netlify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Deploy Preview for dpp-dev ready!

Name Link
🔨 Latest commit 1347027
🔍 Latest deploy log https://app.netlify.com/projects/dpp-dev/deploys/6a8d3d1b9b3d14000816e70a
😎 Deploy Preview https://deploy-preview-1642--dpp-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added documentation Improvements or additions to documentation code Improvements or additions to code. labels Aug 24, 2026
Comment thread src/dpp/voice/enabled/write_ready.cpp Outdated
if (needs_write) {
udp_events.flags = WANT_READ | WANT_WRITE | WANT_ERROR;
owner->socketengine->update_socket(udp_events);
bool should_send_now = elapsed >= minimum;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

since we're not reusing this i'd probs just change this to be in the if below

or, const it (you could also add const to the stuff above)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code Improvements or additions to code. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants