AminBhst/brisk

Reset slower connections automatically

Closed this issue · 0 comments

Sometimes, some connections might slow down the download speed. This is especially true when most download connections have been completed and the download might slow down significantly due to the state of the remaining connections. It has been seen that a manual pause/resume helps a lot in those cases and the download speed goes back to what is expected for the most part.
In the future, a dynamic segmentation feature might be added to maximize download speed at all times but in the meantime, this minor change can significantly boost the download speed in special cases.

The download speed must be compared to the average expected speed in regular intervals. If the speed is significantly lower, a connection reset will be initiated by the multi connection coordinator. This, however, should only be attempted once or twice and if it didn't yield any benefits, download connections must continue.