We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 739ded9 commit 16847edCopy full SHA for 16847ed
packages/cli/src/constructs/retry-strategy.ts
@@ -172,10 +172,18 @@ export class RetryStrategyBuilder {
172
* A single retry will be performed.
173
*/
174
static singleRetry (options?: SingleRetryStrategyOptions): RetryStrategy {
175
- return RetryStrategyBuilder.retryStrategy('SINGLE', {
+ const {
176
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
177
+ maxRetries,
178
179
+ maxDurationSeconds,
180
+ ...strategy
181
+ } = RetryStrategyBuilder.retryStrategy('SINGLE', {
182
baseBackoffSeconds: options?.baseBackoffSeconds,
183
sameRegion: options?.sameRegion,
184
})
185
+
186
+ return strategy
187
}
188
189
/**
0 commit comments