Skip to content

fix: add tests for unbalanced dags and very deep dags #299

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

Merged
merged 5 commits into from
Mar 16, 2023

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Mar 16, 2023

To ensure that blocks are emitted in the correct order while also not overflowing the stack, when we loop over the children of a node, use a separate queue for each child and wait for the queue to be idle before moving on to the next child.

To ensure that blocks are emitted in the correct order while also
not overflowing the stack, when we loop of the children of a node,
use a separate queue for each child and wait for the queue to be
idle before moving on to the next child.
@achingbrain achingbrain merged commit 44e7792 into master Mar 16, 2023
@achingbrain achingbrain deleted the fix/support-esoteric-dags branch March 16, 2023 12:06
github-actions bot pushed a commit that referenced this pull request Mar 16, 2023
## [ipfs-unixfs-exporter-v13.0.4](ipfs-unixfs-exporter-v13.0.3...ipfs-unixfs-exporter-v13.0.4) (2023-03-16)

### Bug Fixes

* add tests for unbalanced dags and very deep dags ([#299](#299)) ([44e7792](44e7792))
@github-actions
Copy link

🎉 This PR is included in version ipfs-unixfs-exporter-v13.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant