• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.

Updater seems unnecessarily slow

TacoVengeance

New member
Joined
Aug 4, 2020
Messages
1
Reactions
1
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