aws-sdk-s3 1.146.0 → 1.146.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cce0ddd011617e3a15f4cb1464889a47d48f05fdaf43646dcb36a5eb4b9665e
4
- data.tar.gz: dc2ccdaa403c4d7c9cfe1eb085699cf1d88fb8db028466bcfef132214a5e74db
3
+ metadata.gz: bbfba787c46b0e8ec4dc57e11a20f0d16d38925d08577e77f5537abdd64789b1
4
+ data.tar.gz: c77ad5e5aae75f9a2407054547768a22ded163a45914de729ceb3a675e876ec8
5
5
  SHA512:
6
- metadata.gz: f2dc083affe7245a9ba3c60ecaef2005b1ca390c0c98462319ba90710145932283520974bcb69bbe52f7d9ecf8bae930aadece66b599b3596b772f04b1176ad6
7
- data.tar.gz: ed714310763321fd85aaf09901f3bea4079f08ba6f1717e3bb5fcd22638159e1f9dd54a709e8f562e587deec63cb0b5904f4b37ceb9fdd15b29f35ea7ccede10
6
+ metadata.gz: e1356cafb64aaf42508333251d59c9c2130ac30be57b6a7cb78554a1df241921c5f037d03879b023582292adaade4e2de9b807192f828eb59f7c25e52dd49208
7
+ data.tar.gz: 209a46f38d9169197d85990df7403321cb9f18945567f8826fb01c9e8d8e955041d40d44d710eb773f1d102bfff5cbad3f0eb609131923de185521eadec844ce
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.146.1 (2024-03-28)
5
+ ------------------
6
+
7
+ * Issue - Fix bug where thread_count option was not being respected for multipart uploads.
8
+
4
9
  1.146.0 (2024-03-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.146.0
1
+ 1.146.1
@@ -18792,7 +18792,7 @@ module Aws::S3
18792
18792
  params: params,
18793
18793
  config: config)
18794
18794
  context[:gem_name] = 'aws-sdk-s3'
18795
- context[:gem_version] = '1.146.0'
18795
+ context[:gem_version] = '1.146.1'
18796
18796
  Seahorse::Client::Request.new(handlers, context)
18797
18797
  end
18798
18798
 
@@ -147,7 +147,7 @@ module Aws
147
147
  if (callback = options[:progress_callback])
148
148
  progress = MultipartProgress.new(pending, callback)
149
149
  end
150
- @thread_count.times do
150
+ options.fetch(:thread_count, @thread_count).times do
151
151
  thread = Thread.new do
152
152
  begin
153
153
  while part = pending.shift
@@ -43,6 +43,7 @@ module Aws
43
43
 
44
44
  # @option options [required,String] :bucket
45
45
  # @option options [required,String] :key
46
+ # @option options [Integer] :thread_count (THREAD_COUNT)
46
47
  # @return [Seahorse::Client::Response] - the CompleteMultipartUploadResponse
47
48
  def upload(options = {}, &block)
48
49
  Aws::Plugins::UserAgent.feature('s3-transfer') do
@@ -152,7 +153,7 @@ module Aws
152
153
  def upload_in_threads(read_pipe, completed, options, thread_errors)
153
154
  mutex = Mutex.new
154
155
  part_number = 0
155
- @thread_count.times.map do
156
+ options.fetch(:thread_count, @thread_count).times.map do
156
157
  thread = Thread.new do
157
158
  begin
158
159
  loop do
data/lib/aws-sdk-s3.rb CHANGED
@@ -73,6 +73,6 @@ require_relative 'aws-sdk-s3/event_streams'
73
73
  # @!group service
74
74
  module Aws::S3
75
75
 
76
- GEM_VERSION = '1.146.0'
76
+ GEM_VERSION = '1.146.1'
77
77
 
78
78
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.146.0
4
+ version: 1.146.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-18 00:00:00.000000000 Z
11
+ date: 2024-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms