Skip to content

Fix large file read#2464

Open
Bokomoko wants to merge 2 commits intonftstorage:mainfrom
Bokomoko:fix-large-file-read
Open

Fix large file read#2464
Bokomoko wants to merge 2 commits intonftstorage:mainfrom
Bokomoko:fix-large-file-read

Conversation

@Bokomoko
Copy link

Switched from simple fs.readfile to stream input.
Please mind that since the NFTStorage does not provide stream writing the client must have enough RAM to hold the entire file.
Maybe a partial write or stream must be applied to the NFTSTorage object as well

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.

1 participant