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