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

rtt to nodes in buildin #1221

Closed
dzmitry-lahoda opened this issue Nov 9, 2021 · 2 comments
Closed

rtt to nodes in buildin #1221

dzmitry-lahoda opened this issue Nov 9, 2021 · 2 comments
Labels

Comments

@dzmitry-lahoda
Copy link
Contributor

i see here is no rtt visible in api https://github.com/fluencelabs/fluence/blob/master/connection-pool/src/behaviour.rs . also i see some libp2p setup for ping. what is rule of removing from connected state? like RTT > 30 seconds?

but it could be api feature to allow to decide protocols to route to closes nodes. when connected = false , than RTT = Infinity.

But protocols can cap on 100ms, 1000ms, 10sec 100s sec RTTS to consider on its own what means connected.

@folex
Copy link
Member

folex commented Nov 21, 2021

Does Peer.timeout solve this for you?

@folex folex added the recent label May 25, 2022
@folex
Copy link
Member

folex commented May 25, 2022

no response

@folex folex closed this as completed May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants