diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-24 13:07:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-24 13:38:39 +0200 |
commit | e5565833f62b97f62ea75eba5b479963ae78b873 (patch) | |
tree | 835793ce464f9666b0ceae79f3d278cc4e007b32 /config/production.yaml.example | |
parent | d1a63fc7ac58a1db00d8ca4f43aadba02eb9b084 (diff) | |
download | PeerTube-e5565833f62b97f62ea75eba5b479963ae78b873.tar.gz PeerTube-e5565833f62b97f62ea75eba5b479963ae78b873.tar.zst PeerTube-e5565833f62b97f62ea75eba5b479963ae78b873.zip |
Improve redundancy: add 'min_lifetime' configuration
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index 4d8752206..f9da8e0dd 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -76,14 +76,20 @@ redundancy: | |||
76 | strategies: | 76 | strategies: |
77 | # - | 77 | # - |
78 | # size: '10GB' | 78 | # size: '10GB' |
79 | # # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances) | ||
80 | # min_lifetime: '48 hours' | ||
79 | # strategy: 'most-views' # Cache videos that have the most views | 81 | # strategy: 'most-views' # Cache videos that have the most views |
80 | # - | 82 | # - |
81 | # size: '10GB' | 83 | # size: '10GB' |
84 | # # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances) | ||
85 | # min_lifetime: '48 hours' | ||
82 | # strategy: 'trending' # Cache trending videos | 86 | # strategy: 'trending' # Cache trending videos |
83 | # - | 87 | # - |
84 | # size: '10GB' | 88 | # size: '10GB' |
89 | # # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances) | ||
90 | # min_lifetime: '48 hours' | ||
85 | # strategy: 'recently-added' # Cache recently added videos | 91 | # strategy: 'recently-added' # Cache recently added videos |
86 | # minViews: 10 # Having at least x views | 92 | # min_views: 10 # Having at least x views |
87 | 93 | ||
88 | ############################################################################### | 94 | ############################################################################### |
89 | # | 95 | # |