aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-24 13:07:33 +0200
committerChocobozzz <me@florianbigard.com>2018-09-24 13:38:39 +0200
commite5565833f62b97f62ea75eba5b479963ae78b873 (patch)
tree835793ce464f9666b0ceae79f3d278cc4e007b32 /config/default.yaml
parentd1a63fc7ac58a1db00d8ca4f43aadba02eb9b084 (diff)
downloadPeerTube-e5565833f62b97f62ea75eba5b479963ae78b873.tar.gz
PeerTube-e5565833f62b97f62ea75eba5b479963ae78b873.tar.zst
PeerTube-e5565833f62b97f62ea75eba5b479963ae78b873.zip
Improve redundancy: add 'min_lifetime' configuration
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/default.yaml b/config/default.yaml
index fa1fb628a..0d7d948c2 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -75,14 +75,20 @@ redundancy:
75 strategies: 75 strategies:
76# - 76# -
77# size: '10GB' 77# size: '10GB'
78# # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
79# min_lifetime: '48 hours'
78# strategy: 'most-views' # Cache videos that have the most views 80# strategy: 'most-views' # Cache videos that have the most views
79# - 81# -
80# size: '10GB' 82# size: '10GB'
83# # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
84# min_lifetime: '48 hours'
81# strategy: 'trending' # Cache trending videos 85# strategy: 'trending' # Cache trending videos
82# - 86# -
83# size: '10GB' 87# size: '10GB'
88# # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
89# min_lifetime: '48 hours'
84# strategy: 'recently-added' # Cache recently added videos 90# strategy: 'recently-added' # Cache recently added videos
85# minViews: 10 # Having at least x views 91# min_views: 10 # Having at least x views
86 92
87cache: 93cache:
88 previews: 94 previews: