Optimize pr-downloader to not re-download map if it's present.
p2004a opened this issue · 0 comments
p2004a commented
This is a regression from some refactoring a bunch of time ago, and is a safe behavior to just redownload, but it can be optimized to not have to do it.
The implementation would be computing of map file hash on disk, and comparing with the one available in hosting.
Comparing just file presence is not enough, as client could ask to redownload because there is some corruption and existing file on disk is not recognized correctly as valid map.