diff options
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/media.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/configuration/media.md b/docs/configuration/media.md index 393274726..7e701cc7a 100644 --- a/docs/configuration/media.md +++ b/docs/configuration/media.md @@ -28,4 +28,15 @@ media-description-min-chars: 0 # Examples: [500, 1000, 1500] # Default: 500 media-description-max-chars: 500 + +# Int. Number of days to cache media from remote instances before they are removed from the cache. +# A job will run every day at midnight to clean up any remote media older than the given amount of days. +# +# When remote media is removed from the cache, it is deleted from storage but the database entries for the media +# are kept so that it can be fetched again if requested by a user. +# +# If this is set to 0, then media from remote instances will be cached indefinitely. +# Examples: [30, 60, 7, 0] +# Default: 30 +media-remote-cache-days: 30 ``` |