Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Skip creation of temp file #1027

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Skip creation of temp file #1027

wants to merge 1 commit into from

Conversation

bebu
Copy link

@bebu bebu commented Jun 23, 2022

download_media does not create a tempfile and moves it after it is finished, but directly creates/overwrites the target file.
Writing to a temporary file and moving causes a lot of overhead for big files, and i could not find a specific reason to not download directly.
Maybe add some suffix to show to users its not finished yet?

download_media does not create a tempfile and moving after it is finished, but directly writes to the target file
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant