-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Timeout exception when downloading large file #47
Comments
My bad. This issue is similar to #43. But it seems that I found the reason which causes the exception |
@Lqlsoftware glad, you liked this project and found it useful. Thanks for getting into the details of the issue. We can also work on fixing the asyncio timeout issue by tinkering and changing how the coroutine & tasks are created currently - media_downloader.py#L175 |
Sure, I will pull a request for updating |
Hi!
I am very interested in this project, and your code is so clean and readable to me. I would like to do something for this repo (or others XD).
There are some exceptions when using the script downloading files from channels:
When downloading large size of files, there is a great chance that some small-sized images will be downloaded together.
The await-sync programming model will stall other threads and coming to a timeout eventually, the
last_message_id
was not flush into theconfig.yaml
before the timeout exception (damn...).I'm trying to edit the script to prevent timeout exception when downloading a large file, and save the
last_message_id
when the exception occurs.Do you have ideas to make the script better?
The text was updated successfully, but these errors were encountered: