aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-11 17:33:36 +0200
committerChocobozzz <me@florianbigard.com>2019-04-12 08:31:06 +0200
commitcda03765fe366f028897e9b02dd4a0a19af3c935 (patch)
tree4d30303d76f8fd171195a51b1f737a0067987d6c /config/default.yaml
parent7b293f28686319242958dff7315cdd8ad74fc15e (diff)
downloadPeerTube-cda03765fe366f028897e9b02dd4a0a19af3c935.tar.gz
PeerTube-cda03765fe366f028897e9b02dd4a0a19af3c935.tar.zst
PeerTube-cda03765fe366f028897e9b02dd4a0a19af3c935.zip
Add ability to delete old remote views
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index d45d84b90..70b10299d 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -118,6 +118,16 @@ history:
118 # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) 118 # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database)
119 max_age: -1 119 max_age: -1
120 120
121views:
122 videos:
123 # PeerTube creates a database entry every hour for each video to track views over a period of time
124 # This is used in particular by the Trending page
125 # PeerTube could remove old remote video views if you want to reduce your database size (video view counter will not be altered)
126 # -1 means no cleanup
127 # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database)
128 remote:
129 max_age: -1
130
121cache: 131cache:
122 previews: 132 previews:
123 size: 500 # Max number of previews you want to cache 133 size: 500 # Max number of previews you want to cache