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

Whoareyou timeout #72

Merged
merged 3 commits into from
Jun 30, 2021
Merged

Whoareyou timeout #72

merged 3 commits into from
Jun 30, 2021

Conversation

AgeManning
Copy link
Member

This is an optimisation that prevents sending WhoAreYouRef requests to the service every time a packet has unknown session keys.

A WhoAreYouRef is only requested from the service if we are not already waiting for a response.

Further, this corrects the lrucache such that multiple unknown requests from a node does not restart the WHOAREYOU request timeout.

@AgeManning AgeManning merged commit 753bc83 into master Jun 30, 2021
@AgeManning AgeManning deleted the whoareyou-timeout branch July 7, 2021 04:23
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