[Feature Request] Optimize upload speed for small files
tissole opened this issue · comments
Is your feature request related to a problem?
Small files are uploaded at a lower speed than big files.
Describe the solution you'd like
Increase the upload speed for small files.
Describe alternatives you've considered
None.
Additional context
I think that the settings from here can be changed to higher values for uploading documents. Probably here too for photos.
It is better to use the same size value (512) for all files. This has 2 advantages:
- Fewer requests to TG servers, reducing the possibility of flood waits
- Small files are uploaded quicker.
Also, the sessions count can be raised from 8 to 20. Tests with such amount of sessions have been done successfully.