From cda03765fe366f028897e9b02dd4a0a19af3c935 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Apr 2019 17:33:36 +0200 Subject: Add ability to delete old remote views --- config/default.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config/default.yaml') 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: # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) max_age: -1 +views: + videos: + # PeerTube creates a database entry every hour for each video to track views over a period of time + # This is used in particular by the Trending page + # PeerTube could remove old remote video views if you want to reduce your database size (video view counter will not be altered) + # -1 means no cleanup + # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) + remote: + max_age: -1 + cache: previews: size: 500 # Max number of previews you want to cache -- cgit v1.2.3