From 1cf5c52299c02ff1411b73b1558f4419d400cbd3 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 15 Jan 2021 18:07:19 +0100 Subject: [PATCH] Update config for peertube 3.0 --- templates/peertube-production.yaml.j2 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/templates/peertube-production.yaml.j2 b/templates/peertube-production.yaml.j2 index 33df3ac..c74c794 100644 --- a/templates/peertube-production.yaml.j2 +++ b/templates/peertube-production.yaml.j2 @@ -78,3 +78,17 @@ trending: csp: enabled: true report_only: true + +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: '30 days' + +federation: + videos: + federate_unlisted: false