aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/production.yaml.example
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-01-27 17:15:21 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-01-28 15:55:34 +0100
commitba5d4a849c7d7ba05f093480ae12286c4af61556 (patch)
tree704a80b96d3b437ad12feacaaaf58a96b97282a1 /config/production.yaml.example
parent3da68f0a781ebd893521e2e6fa200280c92ae815 (diff)
downloadPeerTube-ba5d4a849c7d7ba05f093480ae12286c4af61556.tar.gz
PeerTube-ba5d4a849c7d7ba05f093480ae12286c4af61556.tar.zst
PeerTube-ba5d4a849c7d7ba05f093480ae12286c4af61556.zip
move from trending routes to alg param
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r--config/production.yaml.example10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example
index f9f3abc18..b616c6ced 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -106,6 +106,12 @@ log:
106trending: 106trending:
107 videos: 107 videos:
108 interval_days: 7 # Compute trending videos for the last x days 108 interval_days: 7 # Compute trending videos for the last x days
109 algorithms:
110 enabled:
111 - 'hot' # adaptation of the Reddit 'Hot' algorithm
112 - 'most-viewed' # default, used initially by PeerTube as the trending page
113 - 'most-liked'
114 default: 'most-viewed'
109 115
110# Cache remote videos on your server, to help other instances to broadcast the video 116# Cache remote videos on your server, to help other instances to broadcast the video
111# You can define multiple caches using different sizes/strategies 117# You can define multiple caches using different sizes/strategies
@@ -380,10 +386,6 @@ instance:
380# - 18 # Food 386# - 18 # Food
381 387
382 default_client_route: '/videos/trending' 388 default_client_route: '/videos/trending'
383 default_trending_route: '/videos/most-viewed'
384 pages:
385 hot:
386 enabled: true
387 389
388 # Whether or not the instance is dedicated to NSFW content 390 # Whether or not the instance is dedicated to NSFW content
389 # Enabling it will allow other administrators to know that you are mainly federating sensitive content 391 # Enabling it will allow other administrators to know that you are mainly federating sensitive content