stackup 1.8.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb7a5ebe9211d108f0289506fc5e917f58f7499823206dc22228f31b36992bcc
4
- data.tar.gz: ba7d5a374e7a694fd52a1e7831d77b8dc1187d8dc3d1864dc19fbd6d00f76a3d
3
+ metadata.gz: 48207a7fb9a121bb113246ad4a4be125ace21cb48b3998efc11475ffb1b64783
4
+ data.tar.gz: 4cc7841ae3a55bcfec0891ae91ff905491e172f14f2dd3064f308f56975b4d91
5
5
  SHA512:
6
- metadata.gz: 957ccabd6908e09039974ccd4204bcbbb0efb709fd46730a1d7da4559dffb98092845ce10bfc5a7325a3d4d38bf3c380a76fb3bc032de44714e0c6b5e0cc3dea
7
- data.tar.gz: e94af1775282fbddfe2cfd9a895f557c55a09d79ca9d89738ef9be8219b0a448d74b178d553dd32738cffcab68b067fbcef7078b69fa0d08807124ed2fdae706
6
+ metadata.gz: 9143a0ef0d496bf9f054aa241f0be4877f6e4b10acc8341364221ebaef747ef39162a7377be91f31f46c0794ab6cbb73132e875a63a76aa6a208b0e20ae74807
7
+ data.tar.gz: 7cd6106353e24e78bd555f6366192fcba0b87e6850ef9a7ca0d0197cc5e4d200e30b0579be9d08f0c9d86d5c5a8db6d0b71de6ee02b83455e22358d18ec2d4ce
data/CHANGES.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGES
2
2
 
3
+ ## 1.8.1 (2023-09-12)
4
+
5
+ * Addresses rate limiting errors in #87 by configuring the following retry behaviours:
6
+ * Updates `retry_mode` from `legacy` to `standard`
7
+ * Increase the value of `max_attempts` to 50
8
+
3
9
  ## 1.8.0 (2022-08-23)
4
10
 
5
11
  * Feature: Add support for ruby 3.1
@@ -90,12 +90,18 @@ module Stackup
90
90
  Stackup(aws_config)
91
91
  end
92
92
 
93
+ # In standard retry_mode max_attempts = 3 so the SDK will only retry twice (initial request + 2 retries)
94
+ # Now we're setting max_attempts = 50 (initial request + 49 retries) which gives us some breathing room
95
+ MAX_SDK_ATTEMPTS = 50
96
+
93
97
  def base_aws_config
94
98
  {
95
99
  :log_level => :debug,
96
100
  :logger => logger,
97
101
  :region => region,
98
- :retry_limit => retry_limit
102
+ :retry_limit => retry_limit,
103
+ :max_attempts => MAX_SDK_ATTEMPTS,
104
+ :retry_mode => "standard"
99
105
  }.reject { |_k, v| v.nil? }
100
106
  end
101
107
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Stackup
4
4
 
5
- VERSION = "1.8.0"
5
+ VERSION = "1.8.1"
6
6
 
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danial Pearce
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-08-23 00:00:00.000000000 Z
12
+ date: 2023-09-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk-cloudformation