-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: non-parallel piece hashing and CAR upload (#1305)
I have a gut feeling that synchronous piece hashing is causing store requests to timeout, specifically waiting for headers in node.js. I think they are probably sent, but event loop is too busy to actually receive them and a timeout gets triggered. This PR removes parallelism around generating piece hashes, sending `store/add` invocation and uploading a CAR. refs #1290
- Loading branch information
Alan Shaw
authored
Mar 19, 2024
1 parent
fe2e3d5
commit 7a6385b
Showing
3 changed files
with
10 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.