aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/production.yaml.example
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-08 10:51:10 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-02-08 15:38:45 +0100
commit9129b7694d577322327ee79e9b9aa64deee92765 (patch)
treeeb23b7a952048c3725f29109d38c36368976dec0 /config/production.yaml.example
parent81b46cbc3417c46263c210c61b51a84a457abaaa (diff)
downloadPeerTube-9129b7694d577322327ee79e9b9aa64deee92765.tar.gz
PeerTube-9129b7694d577322327ee79e9b9aa64deee92765.tar.zst
PeerTube-9129b7694d577322327ee79e9b9aa64deee92765.zip
Allow to specify transcoding and import jobs concurrency
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r--config/production.yaml.example6
1 files changed, 6 insertions, 0 deletions
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:
244 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file 244 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file
245 allow_audio_files: true 245 allow_audio_files: true
246 246
247 # Amount of threads used by ffmpeg for 1 transcoding job
247 threads: 1 248 threads: 1
249 # Amount of transcoding jobs to execute in parallel
250 concurrency: 1
248 251
249 # Choose the transcoding profile 252 # Choose the transcoding profile
250 # New profiles can be added by plugins 253 # New profiles can be added by plugins
@@ -323,6 +326,9 @@ live:
323import: 326import:
324 # Add ability for your users to import remote videos (from YouTube, torrent...) 327 # Add ability for your users to import remote videos (from YouTube, torrent...)
325 videos: 328 videos:
329 # Amount of import jobs to execute in parallel
330 concurrency: 1
331
326 http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html 332 http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html
327 enabled: false 333 enabled: false
328 334