Are the cache timeouts working nostr:npub13v47pg9dxjq96an8jfev9znhm0k7ntwtlh9y335paj9kyjsjpznqzzl3l8 ? Maybe they need to be more aggressive

Reply to this note

Please Login to reply.

Discussion

The cache timeout mechanism itself should be working. I remember testing with locally modified low expiry values to make sure things are getting automatically deleted.

However, I don’t have data on how well the current values will keep the storage usage under control

I’ll send a patch with more aggressive values. Maybe we should also do a longer term test by manually collecting data usage info from our phones every few days to check how well it performs in real circumstances.

nostr:npub1t3ggcd843pnwcu6p4tcsesd02t5jx2aelpvusypu5hk0925nhauqjjl5g4, nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s, I started testing a new Damus version with more aggressive cache values to check if storage usage will improve over time 🤙

https://github.com/damus-io/damus/issues/1689

This long term test should tell us if more aggressive expiration values will solve the issue, or if there is something else happening that prevents storage usage from going down

excited to see how it turns out and what the results will be 🙏💜