diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 21 | ||||
-rw-r--r-- | config/production.yaml.example | 21 | ||||
-rw-r--r-- | config/test.yaml | 21 |
3 files changed, 33 insertions, 30 deletions
diff --git a/config/default.yaml b/config/default.yaml index ab07bfedd..00eeaea8c 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -71,16 +71,17 @@ trending: | |||
71 | # Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following | 71 | # Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following |
72 | redundancy: | 72 | redundancy: |
73 | videos: | 73 | videos: |
74 | # - | 74 | strategies: |
75 | # size: '10GB' | 75 | # - |
76 | # strategy: 'most-views' # Cache videos that have the most views | 76 | # size: '10GB' |
77 | # - | 77 | # strategy: 'most-views' # Cache videos that have the most views |
78 | # size: '10GB' | 78 | # - |
79 | # strategy: 'trending' # Cache trending videos | 79 | # size: '10GB' |
80 | # - | 80 | # strategy: 'trending' # Cache trending videos |
81 | # size: '10GB' | 81 | # - |
82 | # strategy: 'recently-added' # Cache recently added videos | 82 | # size: '10GB' |
83 | # minViews: 10 # Having at least x views | 83 | # strategy: 'recently-added' # Cache recently added videos |
84 | # minViews: 10 # Having at least x views | ||
84 | 85 | ||
85 | cache: | 86 | cache: |
86 | previews: | 87 | previews: |
diff --git a/config/production.yaml.example b/config/production.yaml.example index f9557b8eb..28770e480 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -72,16 +72,17 @@ trending: | |||
72 | # Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following | 72 | # Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following |
73 | redundancy: | 73 | redundancy: |
74 | videos: | 74 | videos: |
75 | # - | 75 | strategies: |
76 | # size: '10GB' | 76 | # - |
77 | # strategy: 'most-views' # Cache videos that have the most views | 77 | # size: '10GB' |
78 | # - | 78 | # strategy: 'most-views' # Cache videos that have the most views |
79 | # size: '10GB' | 79 | # - |
80 | # strategy: 'trending' # Cache trending videos | 80 | # size: '10GB' |
81 | # - | 81 | # strategy: 'trending' # Cache trending videos |
82 | # size: '10GB' | 82 | # - |
83 | # strategy: 'recently-added' # Cache recently added videos | 83 | # size: '10GB' |
84 | # minViews: 10 # Having at least x views | 84 | # strategy: 'recently-added' # Cache recently added videos |
85 | # minViews: 10 # Having at least x views | ||
85 | 86 | ||
86 | ############################################################################### | 87 | ############################################################################### |
87 | # | 88 | # |
diff --git a/config/test.yaml b/config/test.yaml index d3e0e49ac..d36d90bbd 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -23,16 +23,17 @@ log: | |||
23 | 23 | ||
24 | redundancy: | 24 | redundancy: |
25 | videos: | 25 | videos: |
26 | - | 26 | strategies: |
27 | size: '10MB' | 27 | - |
28 | strategy: 'most-views' | 28 | size: '10MB' |
29 | - | 29 | strategy: 'most-views' |
30 | size: '10MB' | 30 | - |
31 | strategy: 'trending' | 31 | size: '10MB' |
32 | - | 32 | strategy: 'trending' |
33 | size: '10MB' | 33 | - |
34 | strategy: 'recently-added' | 34 | size: '10MB' |
35 | minViews: 1 | 35 | strategy: 'recently-added' |
36 | minViews: 1 | ||
36 | 37 | ||
37 | cache: | 38 | cache: |
38 | previews: | 39 | previews: |