From 15825ef18d3b2bb74f4e613496cf3e2921a87389 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 20 Feb 2023 10:17:03 +0100 Subject: Fix default trending algorithm in admin config --- config/default.yaml | 10 ++++++---- config/production.yaml.example | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) (limited to 'config') 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: trending: videos: - interval_days: 7 # Compute trending videos for the last x days + interval_days: 7 # Compute trending videos for the last x days for 'most-viewed' algorithm + algorithms: enabled: - - 'hot' # adaptation of Reddit's 'Hot' algorithm - - 'most-viewed' # default, used initially by PeerTube as the trending page - - 'most-liked' + - 'hot' # Adaptation of Reddit's 'Hot' algorithm + - 'most-viewed' # Number of views in the last x days + - 'most-liked' # Global views since the upload of the video + default: 'most-viewed' # Cache remote videos on your server, to help other instances to broadcast the video diff --git a/config/production.yaml.example b/config/production.yaml.example index 906fb7e1f..f1ebf9095 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -234,12 +234,14 @@ open_telemetry: trending: videos: - interval_days: 7 # Compute trending videos for the last x days + interval_days: 7 # Compute trending videos for the last x days for 'most-viewed' algorithm + algorithms: enabled: - - 'hot' # adaptation of Reddit's 'Hot' algorithm - - 'most-viewed' # default, used initially by PeerTube as the trending page - - 'most-liked' + - 'hot' # Adaptation of Reddit's 'Hot' algorithm + - 'most-viewed' # Number of views in the last x days + - 'most-liked' # Global views since the upload of the video + default: 'most-viewed' # Cache remote videos on your server, to help other instances to broadcast the video -- cgit v1.2.3