aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml9
-rw-r--r--config/production.yaml.example9
-rw-r--r--config/test.yaml6
3 files changed, 24 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 40458bb38..af29a4379 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -66,6 +66,15 @@ trending:
66 videos: 66 videos:
67 interval_days: 7 # Compute trending videos for the last x days 67 interval_days: 7 # Compute trending videos for the last x days
68 68
69# Cache remote videos on your server, to help other instances to broadcast the video
70# You can define multiple caches using different sizes/strategies
71# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
72redundancy:
73 videos:
74# -
75# size: '10GB'
76# strategy: 'most-views' # Cache videos that have the most views
77
69cache: 78cache:
70 previews: 79 previews:
71 size: 500 # Max number of previews you want to cache 80 size: 500 # Max number of previews you want to cache
diff --git a/config/production.yaml.example b/config/production.yaml.example
index d032e4a0c..ddd43093f 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -67,6 +67,15 @@ trending:
67 videos: 67 videos:
68 interval_days: 7 # Compute trending videos for the last x days 68 interval_days: 7 # Compute trending videos for the last x days
69 69
70# Cache remote videos on your server, to help other instances to broadcast the video
71# You can define multiple caches using different sizes/strategies
72# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
73redundancy:
74 videos:
75# -
76# size: '10GB'
77# strategy: 'most-views' # Cache videos that have the most views
78
70############################################################################### 79###############################################################################
71# 80#
72# From this point, all the following keys can be overridden by the web interface 81# From this point, all the following keys can be overridden by the web interface
diff --git a/config/test.yaml b/config/test.yaml
index 6a8e47aac..0f280eabd 100644
--- a/config/test.yaml
+++ b/config/test.yaml
@@ -21,6 +21,12 @@ smtp:
21log: 21log:
22 level: 'debug' 22 level: 'debug'
23 23
24redundancy:
25 videos:
26 -
27 size: '100KB'
28 strategy: 'most-views'
29
24cache: 30cache:
25 previews: 31 previews:
26 size: 1 32 size: 1