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

BLOB max increase to 1GB #82

Open
aevansbt opened this issue Jul 7, 2022 · 0 comments
Open

BLOB max increase to 1GB #82

aevansbt opened this issue Jul 7, 2022 · 0 comments

Comments

@aevansbt
Copy link

aevansbt commented Jul 7, 2022

Currently, the BLOB cannot be more than 200 MB

const MAX_BLOB_LENGTH = 200 * 1000 * 1000 // 200 MB
. As stated in #18 there is a sanity cap of 200 MB. Browsers now allow much larger BLOBs around 900 MB with no issue.

Since using a larger BLOB does not cause any errors or warnings, and the only reason for the 200 MB limit is because of a bothered UX from waiting, I recommend the max size increase to 1 GB.

This issue arose while using Webtorrent to fetch a 500 MB .webm file. However, it does work on instant.io so maybe there's a difference in code there.

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

No branches or pull requests

1 participant