Skip to content

Run UPNP port mapping on a dedicated thread#4591

Merged
pwojcikdev merged 3 commits intonanocurrency:developfrom
pwojcikdev:portmapping-thread
Apr 29, 2024
Merged

Run UPNP port mapping on a dedicated thread#4591
pwojcikdev merged 3 commits intonanocurrency:developfrom
pwojcikdev:portmapping-thread

Conversation

@pwojcikdev
Copy link
Copy Markdown
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
@pwojcikdev pwojcikdev deleted the portmapping-thread branch April 29, 2024 16:15
@qwahzi qwahzi added this to the V27 milestone Apr 30, 2024
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