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

fix: ignore bad peers when fetching the latest value #54

Merged
merged 1 commit into from
Feb 6, 2020

Conversation

Stebalien
Copy link
Member

They may not support the protocol. Or they may just not give us what we're looking for. We might as well keep asking till someone answers.

@Stebalien
Copy link
Member Author

We're seeing a lot of errors on the gateway when ipns pubsub peers connect without supporting this fetch protocol.

@Stebalien Stebalien requested a review from aschmahmann February 5, 2020 00:37
Copy link
Contributor

@aschmahmann aschmahmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Stebalien thanks for taking a look at this. Seems fine by me, although as I mention in my comment we should either change or remove the code for tracking peers that we fail to Fetch from.

@Stebalien Stebalien force-pushed the fix/ignore-bad-peers branch from 38e56b0 to 1a38051 Compare February 5, 2020 17:01
They may not support the protocol. Or they may just not give us what we're
looking for. We might as well keep asking till someone answers.
@Stebalien Stebalien force-pushed the fix/ignore-bad-peers branch from 1a38051 to 6a6dbc4 Compare February 5, 2020 17:02
@Stebalien Stebalien requested a review from aschmahmann February 5, 2020 17:02
Copy link
Contributor

@aschmahmann aschmahmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and also is cleaner now 😄

@Stebalien Stebalien merged commit 95d0efb into master Feb 6, 2020
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.

2 participants