XronTrix10 / Telegram-Leecher

A Pyrogram based Telegram Bot to Transfer Files / Folders to Telegram and Google Drive With Multi-Functionality Using Google Colaboratory
https://t.me/Colab_Leecher
GNU General Public License v3.0
262 stars 242 forks source link

Enhanced upload and download speed configurations and optimizations #25

Open Dev-Yoko opened 7 months ago

Dev-Yoko commented 7 months ago

✨ Enhance upload speed calculation and optimization

✨ Modify the progress_bar function to dynamically calculate upload speed based on actual progress and elapsed time, providing a more accurate representation of upload speed.

🛠️ Review and test the code thoroughly to ensure optimal performance and reliability.

ℹ️ I have not tested this code myself. My conclusion is that this code will work, but thorough testing is recommended.

ℹ️ Enhance download speed configuration

ℹ️ Modify aria2_Download function to optimize download speed parameters:

🔧 Adjust values according to network conditions and requirements.

🛠️ Review and test changes thoroughly before deployment.

❗️ If you encounter any errors or issues, please contact me for assistance.

XronTrix10 commented 7 months ago

@Dev-Yoko Thank you for the PR and a detailed review of your changes. can you please test it once by yourself ? that will be convenient as it is going to be used by lot of people. Also, it is necessary to limit the download speed in aria2 ? Last time I saw, aria2 only supported 16 connections maximum