aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-24 14:55:07 +0200
committerChocobozzz <me@florianbigard.com>2022-05-24 14:55:07 +0200
commit3eba7ab8154027621989cdd4814bc749d79bf0c9 (patch)
treef3f0b6887c00660dc3f7da79ff2fe2379d170aaf /config
parent3cb60ca19eba97738342a10e15d5e5a916e2e690 (diff)
downloadPeerTube-3eba7ab8154027621989cdd4814bc749d79bf0c9.tar.gz
PeerTube-3eba7ab8154027621989cdd4814bc749d79bf0c9.tar.zst
PeerTube-3eba7ab8154027621989cdd4814bc749d79bf0c9.zip
Add ability to set a custom video import timeout
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml3
-rw-r--r--config/production.yaml.example3
2 files changed, 6 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 689f81343..c3e42350b 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -470,6 +470,9 @@ import:
470 # Amount of import jobs to execute in parallel 470 # Amount of import jobs to execute in parallel
471 concurrency: 1 471 concurrency: 1
472 472
473 # Set a custom video import timeout to not block import queue
474 timeout: '2 hours'
475
473 # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html 476 # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html
474 http: 477 http:
475 # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server 478 # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 6db43fccf..4351a4b87 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -478,6 +478,9 @@ import:
478 # Amount of import jobs to execute in parallel 478 # Amount of import jobs to execute in parallel
479 concurrency: 1 479 concurrency: 1
480 480
481 # Set a custom video import timeout to not block import queue
482 timeout: '2 hours'
483
481 # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html 484 # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html
482 http: 485 http:
483 # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server 486 # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server