From 23c0b67d7b91fb44ca24b68d959b0ce62ae237c5 Mon Sep 17 00:00:00 2001 From: q_h Date: Thu, 8 Sep 2022 09:54:12 +0300 Subject: 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/default.yaml') 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: secret_access_key: '' # Maximum amount to upload in one request to object storage - max_upload_part: 2GB + max_upload_part: 100MB streaming_playlists: bucket_name: 'streaming-playlists' -- cgit v1.2.3