From 9129b7694d577322327ee79e9b9aa64deee92765 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 8 Feb 2021 10:51:10 +0100 Subject: Allow to specify transcoding and import jobs concurrency --- config/production.yaml.example | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/production.yaml.example') diff --git a/config/production.yaml.example b/config/production.yaml.example index 13a646918..d75e30276 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -244,7 +244,10 @@ transcoding: # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file allow_audio_files: true + # Amount of threads used by ffmpeg for 1 transcoding job threads: 1 + # Amount of transcoding jobs to execute in parallel + concurrency: 1 # Choose the transcoding profile # New profiles can be added by plugins @@ -323,6 +326,9 @@ live: import: # Add ability for your users to import remote videos (from YouTube, torrent...) videos: + # Amount of import jobs to execute in parallel + concurrency: 1 + http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html enabled: false -- cgit v1.2.3