-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
autorelay: poll for new candidates when needed #1587
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strictly an improvement i would say, but see comment for potential little bug.
d5b6e06
to
412fcfb
Compare
7a53fe0
to
82ab155
Compare
7803f0b
to
23fb7e1
Compare
72feedb
to
f4f0b22
Compare
I rewrote this PR: We now don't keep candidates that we fail to connect to, we throw them out immediately. The application may return them to use on subsequent calls of This should now resolve all the flaky autorelay tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a couple nits. I wonder how flaky these tests will be. At least we aren't relying on a real clock anymore!
f4f0b22
to
47bafcc
Compare
f5ea2ef
to
caaded1
Compare
All suggestions applied. Re-requesting a review, @vyzo and @MarcoPolo 🙏 |
Fixes #1569. Fixes #1440. Closes #1577.
Unblocks #1576 and #1615.