mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-30 20:31:09 +00:00
da8282081c
The old default of 30d can lead to a lot of media getting cached and significant disk usage, even on small or single person instances. A lot of deployments decrease this value, to 15 or even less. This is less of an issue when using object storage, but for local storage which is the more popular deployment option running out of disk space is unpleasant. With GoToSocial's aim to fit in small places, this changes the default to a much more conservative 7 days. In all likelihood people aren't scrolling that far back in their timeline so this change shouldn't result in any issue. Existing deployments will only be affected by this change if the admin hasn't already configured this value, or didn't bootstrap from the example configuration. |
||
---|---|---|
.. | ||
media | ||
config.go | ||
db.go | ||
email.go | ||
federatingdb.go | ||
federator.go | ||
gin.go | ||
log.go | ||
mediahandler.go | ||
oauthserver.go | ||
processor.go | ||
router.go | ||
storage.go | ||
testmodels.go | ||
transportcontroller.go | ||
typeconverter.go | ||
util.go |