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

Expose cached peer address interface. #189

Merged
merged 1 commit into from
Nov 9, 2024
Merged

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Nov 9, 2024

It turns out that Addrinfo#ip_address is slow. Let's cache it, since most connections will handle more than one request.

Types of Changes

  • New feature.

Contribution

@ioquatix ioquatix merged commit 67bf1cf into main Nov 9, 2024
32 of 40 checks passed
@ioquatix ioquatix deleted the peer-remote_ip_address-cache branch November 9, 2024 09:08
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