Skip to content

Conversation

divagant-martian
Copy link

@divagant-martian divagant-martian commented Sep 21, 2025

The introduction of the watcher into the OpenPathInner broke the upwards wake, making the future that handles dealing with the state changes not being polled. Because of this tests that use the open_path api take several seconds, until the runtime decides by chance to poll the future. By changing this to store a stream (an actual future, until a watcher, the futures are now polled in a timelly matter. The test for address discovery for examples used to take 30.22seconds, now it's 0.22 seconds

This also simplifies the code by watching for changes instead of values, which removes the need to deal with Nones that will never happen

@divagant-martian divagant-martian merged commit b3ebcc7 into n0-computer:multipath-quinn-0.11.x Sep 21, 2025
11 of 13 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.

1 participant