-
Notifications
You must be signed in to change notification settings - Fork 14
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
chore: extract daemon & update to go 1.19 #33
Conversation
A quick test on my machine gave the same result between this version and https://ipfs-check.on.fleek.co. Marking as draft until I resolve this warning:
Related + ideas for fixes: |
543f833
to
05fb386
Compare
PR fixed with infinite resources, In debug logging only, there are a few:
but the dht-crawler is reaching out 25k connections without too much trouble. |
bf876ec
to
5f8e8e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't looked super carefully here, but looks like some cut/paste cleanup and some much needed dependency upgrades.
Have you run this (either locally or on the check.ipfs.network backend) to make sure it's performing alright?
@aschmahmann thanks for the review!
Correct. This is preparatory work for more refactor (adding sentry, some API framework, etc)
I did, and it seems to work OK, but as we discussed on Slack I'm seeing shakiness in prod already. For example, the empty dir is not found in the DHT as I write this. So it's hard to assert what's new or old flakiness. I'll include some testing to make sure we improve the situation. |
70a2b32
to
531051b
Compare
531051b
to
f151e31
Compare
obj.Value("DataAvailableOverBitswap").Object().Value("Responded").Boolean().IsTrue() | ||
}, | ||
"ipfs", "dht", "provide", randomFileCid, "--verbose") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disabled for now
// obj.Value("DataAvailableOverBitswap").Object().Value("Error").String().IsEmpty() | ||
// obj.Value("DataAvailableOverBitswap").Object().Value("Found").Boolean().IsTrue() | ||
// obj.Value("DataAvailableOverBitswap").Object().Value("Responded").Boolean().IsTrue() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly disabled for now
@aschmahmann I added a few tests, example run. |
No description provided.