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

Time out with large StorageFile #266

Open
malaire opened this issue Feb 25, 2022 · 1 comment
Open

Time out with large StorageFile #266

malaire opened this issue Feb 25, 2022 · 1 comment

Comments

@malaire
Copy link

malaire commented Feb 25, 2022

Web IDE times out when trying to see or download large StorageFile with many small pieces. (Bangle.js 2)

Web IDE doesn't even allow seeing/downloading part of such StorageFile.

@gfwilliams
Copy link
Member

The issue is there's a timeout for downloads - and if that gets exceeded the IDE times out.

The concern was that if you did setInterval(() => print("Foo"), 100) and then you tried to download a file, without the timeout, the IDE would just hang forever.

So really the download code needs tighter integration with the IO so it can send and search for and 'end of transmission' token rather than just waiting for the data stream to pause

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

2 participants