]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - config/test.yaml
Fix comment body api doc
[github/Chocobozzz/PeerTube.git] / config / test.yaml
index 0a5df75be43046f9305dc0b08040cac54176a9c5..74979f3a76b5e96239441b91b622d29e1258f209 100644 (file)
@@ -12,11 +12,17 @@ rates_limit:
   login:
     window: 5 minutes
     max: 20
+  api:
+    window: 10 seconds
+    max: 500
 
 database:
   hostname: 'localhost'
   port: 5432
 
+redis:
+  hostname: 'localhost'
+
 smtp:
   hostname: null
   port: 1025
@@ -34,18 +40,18 @@ contact_form:
 
 redundancy:
   videos:
-    check_interval: '10 minutes'
+    check_interval: '1 minute'
     strategies:
       -
-        size: '10MB'
+        size: '1000MB'
         min_lifetime: '10 minutes'
         strategy: 'most-views'
       -
-        size: '10MB'
+        size: '1000MB'
         min_lifetime: '10 minutes'
         strategy: 'trending'
       -
-        size: '10MB'
+        size: '1000MB'
         min_lifetime: '10 minutes'
         strategy: 'recently-added'
         min_views: 1
@@ -66,6 +72,7 @@ transcoding:
   allow_audio_files: false
   threads: 2
   resolutions:
+    0p: false
     240p: true
     360p: true
     480p: true
@@ -79,8 +86,15 @@ import:
   videos:
     http:
       enabled: true
+      proxy:
+        enabled: false
+        url: ""
     torrent:
       enabled: true
 
 instance:
   default_nsfw_policy: 'display'
+
+plugins:
+  index:
+    check_latest_versions_interval: '10 minutes'