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!: remove gossipsub from default libp2p services #401

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

achingbrain
Copy link
Member

It's not required to IPFS things, it's a large chunk of code and it's quite CPU intensive so do not bundle it by default.

People can still configure themselves if they need it.

@achingbrain achingbrain requested a review from a team as a code owner January 23, 2024 16:28
It's not required to IPFS things, it's a large chunk of code and
it's quite CPU intensive so do not bundle it by default.

People can still configure themselves if they need it.
@achingbrain achingbrain merged commit 99c94f4 into main Jan 24, 2024
18 checks passed
@achingbrain achingbrain deleted the fix/remove-gossipsub branch January 24, 2024 14:17
@achingbrain achingbrain mentioned this pull request Jan 24, 2024
@2color
Copy link
Member

2color commented Jan 24, 2024

Nice. Do we track the bundle size at all?

@achingbrain
Copy link
Member Author

Not actively, we used to rely on https://bundlephobia.com for this but it doesn't work with exports maps 😭

@achingbrain
Copy link
Member Author

achingbrain commented Jan 24, 2024

Just discovered https://packagephobia.com - this one seems to work:

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