Skip to content
New issue

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

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

Already on GitHub? # to your account

Run UPNP port mapping on a dedicated thread #4591

Merged
merged 3 commits into from
Apr 29, 2024

Conversation

pwojcikdev
Copy link
Contributor

@pwojcikdev pwojcikdev commented Apr 28, 2024

This reworks the port_mapping component responsible for port redirection configuration to run on a dedicated thread. This should help with node resiliency.

However, the problem I noticed is that testing port_mapping component doesn't seem to be part of our CI. There is a comment indicating that maybe this was attempted in the past:

// Long discovery time and fast setup/teardown make this impractical for testing

I'd recommend that we look into it. Perhaps it can be done as part of our system test suite.

@pwojcikdev pwojcikdev merged commit 961cae3 into nanocurrency:develop Apr 29, 2024
25 of 26 checks passed
@pwojcikdev pwojcikdev deleted the portmapping-thread branch April 29, 2024 16:15
@qwahzi qwahzi added this to the V27 milestone Apr 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants