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

[Feature Request] Optimize upload speed for small files #402

Open
tissole opened this issue Nov 8, 2022 · 0 comments
Open

[Feature Request] Optimize upload speed for small files #402

tissole opened this issue Nov 8, 2022 · 0 comments
Labels
enhancement Improvment suggestion for existing feature.

Comments

@tissole
Copy link

tissole commented Nov 8, 2022

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:

  1. Fewer requests to TG servers, reducing the possibility of flood waits
  2. 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.

@tissole tissole added the enhancement Improvment suggestion for existing feature. label Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvment suggestion for existing feature.
Projects
None yet
Development

No branches or pull requests

1 participant