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

Keep alive & timeouts for peer connections #14

Open
Thomasdezeeuw opened this issue Aug 27, 2020 · 0 comments
Open

Keep alive & timeouts for peer connections #14

Thomasdezeeuw opened this issue Aug 27, 2020 · 0 comments

Comments

@Thomasdezeeuw
Copy link
Owner

Currently the peer server uses a timeout of 2 minutes when reading before returning a time-out error, here:

match Deadline::timeout(&mut ctx, ALIVE_TIMEOUT, buf.read_from(&mut stream)).await {

However this is not really desired when the nodes are idle or not receiving store/delete requests.

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

No branches or pull requests

1 participant