aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-31 17:18:13 +0200
committerChocobozzz <me@florianbigard.com>2018-08-31 17:22:01 +0200
commit9a629c6efbe39dfac290347670ca41b0d7100f41 (patch)
tree22c491983071aebe928fe73a2c51a8347fc78b8a /config
parent4ccb6c083025005a495e8ed40ea352c541f66951 (diff)
downloadPeerTube-9a629c6efbe39dfac290347670ca41b0d7100f41.tar.gz
PeerTube-9a629c6efbe39dfac290347670ca41b0d7100f41.tar.zst
PeerTube-9a629c6efbe39dfac290347670ca41b0d7100f41.zip
Trending by interval
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml4
-rw-r--r--config/production.yaml.example4
2 files changed, 8 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index ef63fbd28..254fa0c99 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -62,6 +62,10 @@ search:
62 users: true 62 users: true
63 anonymous: false 63 anonymous: false
64 64
65trending:
66 videos:
67 interval_days: 7 # Compute trending videos for the last x days
68
65cache: 69cache:
66 previews: 70 previews:
67 size: 500 # Max number of previews you want to cache 71 size: 500 # Max number of previews you want to cache
diff --git a/config/production.yaml.example b/config/production.yaml.example
index f7b153698..e33427fae 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -63,6 +63,10 @@ search:
63 users: true 63 users: true
64 anonymous: false 64 anonymous: false
65 65
66trending:
67 videos:
68 interval_days: 7 # Compute trending videos for the last x days
69
66############################################################################### 70###############################################################################
67# 71#
68# From this point, all the following keys can be overridden by the web interface 72# From this point, all the following keys can be overridden by the web interface