]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - config/test.yaml
Add rate limit to registration and API endpoints
[github/Chocobozzz/PeerTube.git] / config / test.yaml
index 6825308405a497ba31d72241dea95af0b21c2466..0a5df75be43046f9305dc0b08040cac54176a9c5 100644 (file)
@@ -5,6 +5,14 @@ listen:
 webserver:
   https: false
 
+rates_limit:
+  signup:
+    window: 10 minutes
+    max: 50
+  login:
+    window: 5 minutes
+    max: 20
+
 database:
   hostname: 'localhost'
   port: 5432
@@ -55,6 +63,7 @@ signup:
 transcoding:
   enabled: true
   allow_additional_extensions: false
+  allow_audio_files: false
   threads: 2
   resolutions:
     240p: true
@@ -62,6 +71,7 @@ transcoding:
     480p: true
     720p: true
     1080p: true
+    2160p: true
   hls:
     enabled: true