diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/config.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml index cb84a028c..be3f1c5e5 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -205,6 +205,17 @@ media-description-min-chars: 0 # 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 + ########################## ##### STORAGE CONFIG ##### ########################## |