From 9a629c6efbe39dfac290347670ca41b0d7100f41 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 31 Aug 2018 17:18:13 +0200 Subject: Trending by interval --- config/default.yaml | 4 ++++ config/production.yaml.example | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'config') 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: users: true anonymous: false +trending: + videos: + interval_days: 7 # Compute trending videos for the last x days + cache: previews: 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: users: true anonymous: false +trending: + videos: + interval_days: 7 # Compute trending videos for the last x days + ############################################################################### # # From this point, all the following keys can be overridden by the web interface -- cgit v1.2.3