diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 3 | ||||
-rw-r--r-- | config/production.yaml.example | 3 | ||||
-rw-r--r-- | config/test.yaml | 3 |
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 | ||
78 | cache: | 81 | cache: |
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 | ||
30 | cache: | 33 | cache: |
31 | previews: | 34 | previews: |