fog-aws 3.20.0 → 3.21.0

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: 221fe36cc09816b1840dbc781cc81a696faa07aa5ca6adac93a0b8e76eb84824
4
- data.tar.gz: bcb81a5ef7e5a5930c458307f86c1823bb5a99bf0d84be037a1318a6f388e602
3
+ metadata.gz: a70dcf9f73be47287b3b3b0180e9b8b43fd1743e67a6b56d8c44cc17e5e7e1f2
4
+ data.tar.gz: 0aa01c7969f747964e13d3404c4d35b91e7b12c77a0071c70dd21b144508014c
5
5
  SHA512:
6
- metadata.gz: ea3237091137702c3af73ea9c67e770d5c1a1bea4d42fe6601099e4ac2b2638f2e37c18d041688923e20d494d184a7f941d4e0348e903de3cc3dcdb304d2a2e3
7
- data.tar.gz: 27c99afd3eca18b27cfa068d07f567a82f88f8b53836e4b18f4dbcd783099e225ed05ac6bfde7425a3f32e1dfc0850e19d0b896170f9b1384557768c54ffe6a8
6
+ metadata.gz: 513c9d361abc77fba5540afccc11026788e6d1ee6df6f9134d8360d431db41dd50a395c476bdfba5c32d1ca2b35b4c81151aa1a82b0e8405976b49b7ac023582
7
+ data.tar.gz: 5cb4615882c96c20aeda02f9e68bbd10f2e1f9fc5fdfb9e3a916573f74cc45ca1df57fd9dc7c5b2231b2d258a4221ae5a75301341eb5013eb04f53936e6184fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.21.0](https://github.com/fog/fog-aws/tree/v3.21.0) (2023-09-29)
4
+
5
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.20.0...v3.21.0)
6
+
7
+ **Closed issues:**
8
+
9
+ - Fog::AWS::Storage default retry behaviour guarantees 6s delay for 4xx class responses [\#690](https://github.com/fog/fog-aws/issues/690)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Fog::AWS::Storage don't retry client errors [\#691]((https://github.com/fog/fog-aws/pull/691) ([rahim](https://github.com/rahim))
14
+
3
15
  ## [v3.20.0](https://github.com/fog/fog-aws/tree/v3.20.0) (2023-09-27)
4
16
 
5
17
  [Full Changelog](https://github.com/fog/fog-aws/compare/v3.19.0...v3.20.0)
@@ -14,6 +14,14 @@ module Fog
14
14
  'https' => 443
15
15
  }
16
16
 
17
+ DEFAULT_CONNECTION_OPTIONS = {
18
+ retry_limit: 5,
19
+ retry_interval: 1,
20
+ retry_errors: [
21
+ Excon::Error::Timeout, Excon::Error::Socket, Excon::Error::Server
22
+ ]
23
+ }
24
+
17
25
  MIN_MULTIPART_CHUNK_SIZE = 5242880
18
26
  MAX_SINGLE_PUT_SIZE = 5368709120
19
27
 
@@ -546,7 +554,8 @@ module Fog
546
554
  @use_iam_profile = options[:use_iam_profile]
547
555
  @instrumentor = options[:instrumentor]
548
556
  @instrumentor_name = options[:instrumentor_name] || 'fog.aws.storage'
549
- @connection_options = options[:connection_options] || { retry_limit: 5, retry_interval: 1 }
557
+ @connection_options =
558
+ DEFAULT_CONNECTION_OPTIONS.merge(options[:connection_options] || {})
550
559
  @persistent = options.fetch(:persistent, false)
551
560
  @acceleration = options.fetch(:acceleration, false)
552
561
  @signature_version = options.fetch(:aws_signature_version, 4)
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module AWS
3
- VERSION = "3.20.0"
3
+ VERSION = "3.21.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.20.0
4
+ version: 3.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Lane
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-09-27 00:00:00.000000000 Z
12
+ date: 2023-09-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler