aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorq_h <q_h@inbox.ru>2022-09-08 09:54:12 +0300
committerGitHub <noreply@github.com>2022-09-08 08:54:12 +0200
commit23c0b67d7b91fb44ca24b68d959b0ce62ae237c5 (patch)
tree80482d64d6235aab3547f0741b70133c884faaaf /config
parente9fc9e03c120fb048ed00b38157d15144770ec23 (diff)
downloadPeerTube-23c0b67d7b91fb44ca24b68d959b0ce62ae237c5.tar.gz
PeerTube-23c0b67d7b91fb44ca24b68d959b0ce62ae237c5.tar.zst
PeerTube-23c0b67d7b91fb44ca24b68d959b0ce62ae237c5.zip
fix: validate s3 response (#5231)
* refactor: remove `objectStoragePut` this is already implemented in `lib-storage` * fix: validate s3 response * fix: enable built-in retries * chore: add `leavePartsOnError` comment * refactor: decrease partSize to speed up retries * refactor: rethrow s3 errors * refactor: reduce max_upload_part default to 100MB * refactor: validate response * chore: add link to explanation
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml2
-rw-r--r--config/production.yaml.example2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 9bf1ca284..0b0a54eef 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -152,7 +152,7 @@ object_storage:
152 secret_access_key: '' 152 secret_access_key: ''
153 153
154 # Maximum amount to upload in one request to object storage 154 # Maximum amount to upload in one request to object storage
155 max_upload_part: 2GB 155 max_upload_part: 100MB
156 156
157 streaming_playlists: 157 streaming_playlists:
158 bucket_name: 'streaming-playlists' 158 bucket_name: 'streaming-playlists'
diff --git a/config/production.yaml.example b/config/production.yaml.example
index f6dc6ccdb..209aaa56a 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -150,7 +150,7 @@ object_storage:
150 secret_access_key: '' 150 secret_access_key: ''
151 151
152 # Maximum amount to upload in one request to object storage 152 # Maximum amount to upload in one request to object storage
153 max_upload_part: 2GB 153 max_upload_part: 100MB
154 154
155 streaming_playlists: 155 streaming_playlists:
156 bucket_name: 'streaming-playlists' 156 bucket_name: 'streaming-playlists'