Grouping media files based on file size for downloading #51
Dineshkarthik
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Agreed.
Or can we get all the list of files to be downloaded, so that we can remove |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the media files are concurrently downloaded on the basis of the order of the messages.
This leads to some async/await timeout errors when a large media file ends up getting loaded along with small files which get downloaded in a few seconds while the large file takes a couple of minutes as reported by @Lqlsoftware in #47
@Lqlsoftware also pushed a fix which changed the strategy of how the
last_messaged_id
is updated in the config file for every batch of media files downloaded concurrently thus the progress is saved when the above-mentioned timeout error occurs - #50The idea proposed is to group the messages/media files to download based on the size of the files which has the following benefits:
Please share your suggestion regarding the above idea.
UPDATE:
The above-mentioned timeout error occurs due to FILE_REFERENCE_EXPIRED exception as mentioned here and in issue #52 and is fixed here #63
Beta Was this translation helpful? Give feedback.
All reactions