aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml10
-rw-r--r--config/production.yaml.example11
2 files changed, 21 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
diff --git a/config/production.yaml.example b/config/production.yaml.example
index b813a65e9..06baaf7d4 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -119,6 +119,17 @@ history:
119 # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) 119 # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database)
120 max_age: -1 120 max_age: -1
121 121
122views:
123 videos:
124 # PeerTube creates a database entry every hour for each video to track views over a period of time
125 # This is used in particular by the Trending page
126 # PeerTube could remove old remote video views if you want to reduce your database size (video view counter will not be altered)
127 # -1 means no cleanup
128 # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database)
129 remote:
130 max_age: -1
131
132
122############################################################################### 133###############################################################################
123# 134#
124# From this point, all the following keys can be overridden by the web interface 135# From this point, all the following keys can be overridden by the web interface