diff options
author | q_h <q_h@inbox.ru> | 2022-09-08 09:54:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 08:54:12 +0200 |
commit | 23c0b67d7b91fb44ca24b68d959b0ce62ae237c5 (patch) | |
tree | 80482d64d6235aab3547f0741b70133c884faaaf /config/production.yaml.example | |
parent | e9fc9e03c120fb048ed00b38157d15144770ec23 (diff) | |
download | PeerTube-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/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 2 |
1 files changed, 1 insertions, 1 deletions
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' |