aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-02-20 10:17:03 +0100
committerChocobozzz <me@florianbigard.com>2023-02-20 10:18:05 +0100
commit15825ef18d3b2bb74f4e613496cf3e2921a87389 (patch)
treed68b590baa98b090c212a117317c21059e064725 /config/default.yaml
parent5471449f998eec270b184e6080e6f9853e5d722a (diff)
downloadPeerTube-15825ef18d3b2bb74f4e613496cf3e2921a87389.tar.gz
PeerTube-15825ef18d3b2bb74f4e613496cf3e2921a87389.tar.zst
PeerTube-15825ef18d3b2bb74f4e613496cf3e2921a87389.zip
Fix default trending algorithm in admin config
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 37059e9e0..bb4a823fa 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -236,12 +236,14 @@ open_telemetry:
236 236
237trending: 237trending:
238 videos: 238 videos:
239 interval_days: 7 # Compute trending videos for the last x days 239 interval_days: 7 # Compute trending videos for the last x days for 'most-viewed' algorithm
240
240 algorithms: 241 algorithms:
241 enabled: 242 enabled:
242 - 'hot' # adaptation of Reddit's 'Hot' algorithm 243 - 'hot' # Adaptation of Reddit's 'Hot' algorithm
243 - 'most-viewed' # default, used initially by PeerTube as the trending page 244 - 'most-viewed' # Number of views in the last x days
244 - 'most-liked' 245 - 'most-liked' # Global views since the upload of the video
246
245 default: 'most-viewed' 247 default: 'most-viewed'
246 248
247# Cache remote videos on your server, to help other instances to broadcast the video 249# Cache remote videos on your server, to help other instances to broadcast the video