dansan / spring-replay-site

Website to upload, comment and download replays from/for the SpringRTS engine
http://replays.springrts.com/
GNU General Public License v3.0
11 stars 1 forks source link

images seems to be not deleted when the replay is deleted #129

Closed abma closed 4 years ago

abma commented 4 years ago

du -hs /var/www/servers/replays.springrts.com/spring-replay-site/srs/static/maps

22G

:-|

at a quick look, the oldest files in this dir are from 2012

dansan commented 4 years ago

Replays are never deleted, so the images are not deleted either. The replays demo files are deleted.

I'll check how long it'd take to create a replays image on-demand. Then we could delete the old images and if anyone every looks at an old replay, the page would simply take a second longer to load.

dansan commented 4 years ago

OK, so when #130 is implemented, map files can simply be deleted when their replay demofiles are removed.

dansan commented 4 years ago

Deleted old map images. Down from 22GB to 155MB :) Unfortunately I also deleted the base images (from which the replay images are created), so I'll have to refetch them…

dansan commented 4 years ago

OK - I reuploaded the base images.

dansan commented 4 years ago

And now I also uploaded the *_home.jpg files ^.^