From 60233e90d280eb865d396b30b63c0e88d13ca7db Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:57:36 +0100 Subject: add client.videos.upload.maxChunkSize config (#4857) * add client.videos.upload.maxChunkSize config * updates after review * remove maxChunkSize from custom-config --- config/default.yaml | 4 ++++ config/production.yaml.example | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 898395705..42ce12c18 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -631,6 +631,10 @@ client: # By default PeerTube client displays author username prefer_author_display_name: false display_author_avatar: false + resumable_upload: + # Max size of upload chunks, e.g. '90MB' + # If null, it will be calculated based on network speed + max_chunk_size: null menu: login: diff --git a/config/production.yaml.example b/config/production.yaml.example index 03afe5841..bb1b4615b 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -639,6 +639,10 @@ client: # By default PeerTube client displays author username prefer_author_display_name: false display_author_avatar: false + resumable_upload: + # Max size of upload chunks, e.g. '90MB' + # If null, it will be calculated based on network speed + max_chunk_size: null menu: login: -- cgit v1.2.3