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

Eldritch download stream #55

Merged
merged 3 commits into from
Sep 15, 2022
Merged

Eldritch download stream #55

merged 3 commits into from
Sep 15, 2022

Conversation

hulto
Copy link
Collaborator

@hulto hulto commented Sep 14, 2022

What type of PR is this?

/kind bug

What this PR does / why we need it:

This PR moves eldritch file.download to an async function using streams to write large files to disk. This will reduce the amount of bytes the program holds in memory at one time allowing us to write larger files to disk.

Fixes: #39

@hulto hulto added the bug Something isn't working label Sep 14, 2022
Copy link
Collaborator

@Milkshak3s Milkshak3s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@hulto hulto merged commit fc5bde0 into main Sep 15, 2022
@hulto hulto deleted the eldritch-download-stream branch September 15, 2022 22:52
KCarretto pushed a commit that referenced this pull request Feb 1, 2024
 
Eldritch download stream (#55)

* Add tokio streams to allow large file downloads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Download_impl throws warning during compilation.
2 participants