mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-11-26 22:30:25 +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. |
||
---|---|---|
.. | ||
gen | ||
testdata | ||
config.go | ||
config_test.go | ||
defaults.go | ||
flags.go | ||
global.go | ||
helpers.gen.go | ||
state.go | ||
util.go | ||
validate.go | ||
validate_test.go |