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

feat(network): implement background keep-alive loop #427

Merged
merged 3 commits into from
Apr 3, 2024

Conversation

scarmuega
Copy link
Member

@scarmuega scarmuega commented Apr 2, 2024

In this PR we introduce a background keep-alive loop as part of the PeerClient facade. This avoids the need for upper layers to implement their own logic, which is pretty standard.

On following PRs we'll introduce a way to configure the keep-alive interval and a way to skip it altogether.

@scarmuega scarmuega added the enhancement New feature or request label Apr 2, 2024
@scarmuega scarmuega merged commit 619cb82 into main Apr 3, 2024
5 checks passed
@scarmuega scarmuega deleted the feat/keep-alive-loop branch April 3, 2024 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants