]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit
fix: validate s3 response (#5231)
authorq_h <q_h@inbox.ru>
Thu, 8 Sep 2022 06:54:12 +0000 (09:54 +0300)
committerGitHub <noreply@github.com>
Thu, 8 Sep 2022 06:54:12 +0000 (08:54 +0200)
commit23c0b67d7b91fb44ca24b68d959b0ce62ae237c5
tree80482d64d6235aab3547f0741b70133c884faaaf
parente9fc9e03c120fb048ed00b38157d15144770ec23
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
config/default.yaml
config/production.yaml.example
server/lib/object-storage/shared/object-storage-helpers.ts