misskey-dev / misskey

🌎 An interplanetary microblogging platform 🚀
https://misskey-hub.net/
GNU Affero General Public License v3.0
9.84k stars 1.33k forks source link

Remote files cache limiting/eviction #11493

Open Riven-Spell opened 1 year ago

Riven-Spell commented 1 year ago

Summary

Remote file caching takes a lot of space, but increases the usability of the instance dramatically. I would like to be able to limit the cache size to a sane quota (e.g. 32 or 64 GB). A Least-Frequently-Used or Adaptive Replacement Cache may be best for this.

MattTheTekie commented 1 year ago

I'd second this. I've wasted 200gb and stopped hosting because of this.