]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - config/production.yaml.example
Fix checker if we don't have redundancy strategies
[github/Chocobozzz/PeerTube.git] / config / production.yaml.example
index d032e4a0c406c5ccb84ff5c23c1443633c50ac74..ca7b936c20dd58729588bdfc3c5490d2ca22e990 100644 (file)
@@ -67,6 +67,22 @@ trending:
   videos:
     interval_days: 7 # Compute trending videos for the last x days
 
+# Cache remote videos on your server, to help other instances to broadcast the video
+# You can define multiple caches using different sizes/strategies
+# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
+redundancy:
+  videos:
+#    -
+#      size: '10GB'
+#      strategy: 'most-views' # Cache videos that have the most views
+#    -
+#      size: '10GB'
+#      strategy: 'trending' # Cache trending videos
+#    -
+#      size: '10GB'
+#      strategy: 'recently-added' # Cache recently added videos
+#      minViews: 10 # Having at least x views
+
 ###############################################################################
 #
 # From this point, all the following keys can be overridden by the web interface