diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2022-03-16 10:57:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 10:57:36 +0100 |
commit | 60233e90d280eb865d396b30b63c0e88d13ca7db (patch) | |
tree | c30f4abf34d014d647354f9c942fc16f071c0ddb /config | |
parent | ff6a266e3f5cb740770a2a186bdfdd0cb871e174 (diff) | |
download | PeerTube-60233e90d280eb865d396b30b63c0e88d13ca7db.tar.gz PeerTube-60233e90d280eb865d396b30b63c0e88d13ca7db.tar.zst PeerTube-60233e90d280eb865d396b30b63c0e88d13ca7db.zip |
add client.videos.upload.maxChunkSize config (#4857)
* add client.videos.upload.maxChunkSize config
* updates after review
* remove maxChunkSize from custom-config
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 4 | ||||
-rw-r--r-- | config/production.yaml.example | 4 |
2 files changed, 8 insertions, 0 deletions
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: | |||
631 | # By default PeerTube client displays author username | 631 | # By default PeerTube client displays author username |
632 | prefer_author_display_name: false | 632 | prefer_author_display_name: false |
633 | display_author_avatar: false | 633 | display_author_avatar: false |
634 | resumable_upload: | ||
635 | # Max size of upload chunks, e.g. '90MB' | ||
636 | # If null, it will be calculated based on network speed | ||
637 | max_chunk_size: null | ||
634 | 638 | ||
635 | menu: | 639 | menu: |
636 | login: | 640 | 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: | |||
639 | # By default PeerTube client displays author username | 639 | # By default PeerTube client displays author username |
640 | prefer_author_display_name: false | 640 | prefer_author_display_name: false |
641 | display_author_avatar: false | 641 | display_author_avatar: false |
642 | resumable_upload: | ||
643 | # Max size of upload chunks, e.g. '90MB' | ||
644 | # If null, it will be calculated based on network speed | ||
645 | max_chunk_size: null | ||
642 | 646 | ||
643 | menu: | 647 | menu: |
644 | login: | 648 | login: |