diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-14 11:05:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-14 11:05:38 +0200 |
commit | 3f6b6a565dc98a658ec9d8f697252788c0faa46d (patch) | |
tree | 9549d3722b2d2d6501d85b4a56e6bfd3ea14fed3 /config | |
parent | 780daa7e91336116a5163156f298c9ad875ec1e3 (diff) | |
download | PeerTube-3f6b6a565dc98a658ec9d8f697252788c0faa46d.tar.gz PeerTube-3f6b6a565dc98a658ec9d8f697252788c0faa46d.tar.zst PeerTube-3f6b6a565dc98a658ec9d8f697252788c0faa46d.zip |
Add recently added redundancy strategy
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 4 | ||||
-rw-r--r-- | config/production.yaml.example | 4 | ||||
-rw-r--r-- | config/test.yaml | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index ecb809c6a..adac9deeb 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -77,6 +77,10 @@ redundancy: | |||
77 | # - | 77 | # - |
78 | # size: '10GB' | 78 | # size: '10GB' |
79 | # strategy: 'trending' # Cache trending videos | 79 | # strategy: 'trending' # Cache trending videos |
80 | # - | ||
81 | # size: '10GB' | ||
82 | # strategy: 'recently-added' # Cache recently added videos | ||
83 | # minViews: 10 # Having at least x views | ||
80 | 84 | ||
81 | cache: | 85 | cache: |
82 | previews: | 86 | previews: |
diff --git a/config/production.yaml.example b/config/production.yaml.example index 48d69e987..ca7b936c2 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -78,6 +78,10 @@ redundancy: | |||
78 | # - | 78 | # - |
79 | # size: '10GB' | 79 | # size: '10GB' |
80 | # strategy: 'trending' # Cache trending videos | 80 | # strategy: 'trending' # Cache trending videos |
81 | # - | ||
82 | # size: '10GB' | ||
83 | # strategy: 'recently-added' # Cache recently added videos | ||
84 | # minViews: 10 # Having at least x views | ||
81 | 85 | ||
82 | ############################################################################### | 86 | ############################################################################### |
83 | # | 87 | # |
diff --git a/config/test.yaml b/config/test.yaml index 73bc5da98..517fc7449 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -29,6 +29,10 @@ redundancy: | |||
29 | - | 29 | - |
30 | size: '100KB' | 30 | size: '100KB' |
31 | strategy: 'trending' | 31 | strategy: 'trending' |
32 | - | ||
33 | size: '100KB' | ||
34 | strategy: 'recently-added' | ||
35 | minViews: 10 | ||
32 | 36 | ||
33 | cache: | 37 | cache: |
34 | previews: | 38 | previews: |