diff options
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 10 |
1 files changed, 6 insertions, 4 deletions
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: | |||
234 | 234 | ||
235 | trending: | 235 | trending: |
236 | videos: | 236 | videos: |
237 | interval_days: 7 # Compute trending videos for the last x days | 237 | interval_days: 7 # Compute trending videos for the last x days for 'most-viewed' algorithm |
238 | |||
238 | algorithms: | 239 | algorithms: |
239 | enabled: | 240 | enabled: |
240 | - 'hot' # adaptation of Reddit's 'Hot' algorithm | 241 | - 'hot' # Adaptation of Reddit's 'Hot' algorithm |
241 | - 'most-viewed' # default, used initially by PeerTube as the trending page | 242 | - 'most-viewed' # Number of views in the last x days |
242 | - 'most-liked' | 243 | - 'most-liked' # Global views since the upload of the video |
244 | |||
243 | default: 'most-viewed' | 245 | default: 'most-viewed' |
244 | 246 | ||
245 | # Cache remote videos on your server, to help other instances to broadcast the video | 247 | # Cache remote videos on your server, to help other instances to broadcast the video |