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

Better Peer handling for tasks #7311

Open
pinges opened this issue Jul 12, 2024 · 0 comments
Open

Better Peer handling for tasks #7311

pinges opened this issue Jul 12, 2024 · 0 comments
Assignees
Labels

Comments

@pinges
Copy link
Contributor

pinges commented Jul 12, 2024

Description

Currently in PendingPeerRequest in getPeerToUse we are checking if the peer that was passed in is disconnected. If it is, we select another peer. That means that on the task level we cannot be sure which peer was used to do the task. It would be cleaner to fail if it is disconnected and handle that in the higher levels.

There can be two reasons for not being able to use a specific peer, a peer is disconnected, or it has too many ongoing requests.

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

5 participants