ZeNyfh / gigavibe-java-edition

Music + Media bot made in java using JDA and Lavaplayer.
GNU General Public License v3.0
8 stars 3 forks source link

Actively dispose of temporary files #149

Closed 9382 closed 4 months ago

9382 commented 4 months ago

Recently changed the file system to avoid dangerous calls to Thread.sleep by using a dedicated temp/ directory and clearing it on restart, but this now means we form an (admittedly minor) build-up of files until what will hopefully be the next update. Something to actively clear these temporary files after a minute or few of existing would be nice, but by no means hugely important.

ZeNyfh commented 4 months ago

This is a very simply feature, I can do this now.