1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00

Add global rate limit to video download

This commit is contained in:
Chocobozzz 2025-05-14 15:16:08 +02:00
parent 49a6211f25
commit 25c5507a03
No known key found for this signature in database
GPG key ID: 583A612D890159BE
10 changed files with 354 additions and 235 deletions

View file

@ -534,7 +534,13 @@ webrtc:
nsfw_flags_settings:
# Allow logged-in/anonymous users to have a more granular control over their NSFW policy
# using NSFW flags (violent content, etc.) set by video authors
enabled: false
enabled: true
download_generate_video:
# Max parallel downloads on your instance
# Each download spawns an ffmpeg process
# The ffmpeg process ends when users have downloaded the entire file or cancelled the download
max_parallel_downloads: 100
###############################################################################
#
@ -1092,11 +1098,6 @@ client:
# You can automatically redirect your users on this external platform when they click on the login button
redirect_on_single_external_auth: false
# Allow logged-in/anonymous users to have a more granular control over their NSFW policy
# using NSFW flags (violent content, etc.) set by video authors
nsfw_flags_settings:
enabled: true
open_in_app:
android:
# Use an intent URL: https://developer.chrome.com/docs/android/intents