Enable multipart transfers for S3 copying
This is a follow-up to https://gitlab.com/gitlab-org/gitlab/-/merge_requests/50922. Multithreaded, multipart transfers are only enabled if the file is above 5 GB or the multipart chunk size is explicitly set. We now set the chunk size to 10 megabytes (the AWS SDK default) to make file copies faster. This commit also updates fog-aws to v3.8.0 to work properly with server side encryption parameters. CHANGELOG: https://github.com/fog/fog-aws/blob/master/CHANGELOG.md
Showing
... | ... | @@ -113,7 +113,7 @@ gem 'carrierwave', '~> 1.3' |
gem 'mini_magick', '~> 4.10.1' | ||
# for backups | ||
gem 'fog-aws', '~> 3.7' | ||
gem 'fog-aws', '~> 3.8' | ||
# Locked until fog-google resolves https://github.com/fog/fog-google/issues/421. | ||
# Also see config/initializers/fog_core_patch.rb. | ||
gem 'fog-core', '= 2.1.0' | ||
... | ... |
Please register or sign in to comment