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

ref: remove unneeded async #1021

Merged
merged 1 commit into from
May 16, 2023
Merged

ref: remove unneeded async #1021

merged 1 commit into from
May 16, 2023

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented May 16, 2023

no real async fns are being called from inside the netcheck actor.

no real async fns are being called from inside the netcheck actor.
Copy link
Contributor

@flub flub left a comment

Choose a reason for hiding this comment

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

this is probably going to give me merge conflicts, but if there's no need for them to be async then let them not be async.

Copy link
Contributor

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

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

less async always better

@rklaehn rklaehn merged commit 7f1b64b into x-hp-fix-stun May 16, 2023
@rklaehn rklaehn deleted the remove-unneeded-async branch May 16, 2023 18:29
dignifiedquire added a commit that referenced this pull request May 16, 2023
* fix: process incoming IP packets in a seperate task

This fixes receiving STUN packets during an endpoint update. Before they processing of incoming STUN packets would be interrupted due to the main actor loop waiting on the endpoint update.

* ref: remove unneeded async (#1021)

no real async fns are being called from inside the netcheck actor.

* fmt

---------

Co-authored-by: Rüdiger Klaehn <[email protected]>
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.

3 participants