aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-14 09:57:21 +0200
committerChocobozzz <me@florianbigard.com>2018-09-14 09:57:21 +0200
commitb36f41ca09e92ecb30d367d91d1089a23d10d585 (patch)
tree34b7c90e17f73f37d069a2f08d60dc36fa08372f /config
parent6f0c46be8c9f4690d5e5cb758c4df6164b006f83 (diff)
downloadPeerTube-b36f41ca09e92ecb30d367d91d1089a23d10d585.tar.gz
PeerTube-b36f41ca09e92ecb30d367d91d1089a23d10d585.tar.zst
PeerTube-b36f41ca09e92ecb30d367d91d1089a23d10d585.zip
Add trending videos strategy
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml3
-rw-r--r--config/production.yaml.example3
-rw-r--r--config/test.yaml3
3 files changed, 9 insertions, 0 deletions
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:
74# - 74# -
75# size: '10GB' 75# size: '10GB'
76# strategy: 'most-views' # Cache videos that have the most views 76# strategy: 'most-views' # Cache videos that have the most views
77# -
78# size: '10GB'
79# strategy: 'trending' # Cache trending videos
77 80
78cache: 81cache:
79 previews: 82 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:
75# - 75# -
76# size: '10GB' 76# size: '10GB'
77# strategy: 'most-views' # Cache videos that have the most views 77# strategy: 'most-views' # Cache videos that have the most views
78# -
79# size: '10GB'
80# strategy: 'trending' # Cache trending videos
78 81
79############################################################################### 82###############################################################################
80# 83#
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:
26 - 26 -
27 size: '100KB' 27 size: '100KB'
28 strategy: 'most-views' 28 strategy: 'most-views'
29 -
30 size: '100KB'
31 strategy: 'trending'
29 32
30cache: 33cache:
31 previews: 34 previews: