Updater seems unnecessarily slow

TacoVengeance

New member
Messages
1
Reactions
1
Points
3
Hi!
The updater is unnecessarily slow when updating to new VaM versions.

This is likely because it iterates over each file, doing a hash check then opening a new HTTPS connection to download a new version of that file, which takes 1-2secs per file.
The base install is around 750 files, which means several minutes will be spent in hashing and SSL connection setup, which could be better spent downloading content.

I suggest changing the algorithm to first do a hashing pass to see which files need to be downloaded, then a final pass to download all files, reusing connections.
This would also result in a steadier progress meter, and you could show accurate remaning download times.
 
Back
Top Bottom