From b36f41ca09e92ecb30d367d91d1089a23d10d585 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 14 Sep 2018 09:57:21 +0200 Subject: Add trending videos strategy --- config/default.yaml | 3 +++ config/production.yaml.example | 3 +++ config/test.yaml | 3 +++ 3 files changed, 9 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index af29a4379..ecb809c6a 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -74,6 +74,9 @@ redundancy: # - # size: '10GB' # strategy: 'most-views' # Cache videos that have the most views +# - +# size: '10GB' +# strategy: 'trending' # Cache trending videos cache: previews: diff --git a/config/production.yaml.example b/config/production.yaml.example index ddd43093f..48d69e987 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -75,6 +75,9 @@ redundancy: # - # size: '10GB' # strategy: 'most-views' # Cache videos that have the most views +# - +# size: '10GB' +# strategy: 'trending' # Cache trending videos ############################################################################### # diff --git a/config/test.yaml b/config/test.yaml index 0f280eabd..73bc5da98 100644 --- a/config/test.yaml +++ b/config/test.yaml @@ -26,6 +26,9 @@ redundancy: - size: '100KB' strategy: 'most-views' + - + size: '100KB' + strategy: 'trending' cache: previews: -- cgit v1.2.3