images: improved download size calc for small scryfall images (#12441)

This commit is contained in:
tiera3 2024-06-09 16:32:10 +10:00 committed by GitHub
parent 4bdca4b9ad
commit fb710f46be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,7 @@ public class ScryfallImageSourceSmall extends ScryfallImageSource {
@Override
public float getAverageSize() {
return 13; // initial estimate - TODO calculate a more accurate number
return 14; // 1,035,907,575 bytes / 73,637 files = 14,068 bytes/file (or 13.78kb/file)
}
}