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 4ee0be1 commit 958331bCopy full SHA for 958331b
packages/cli/src/constructs/retry-strategy.ts
@@ -149,10 +149,18 @@ export class RetryStrategyBuilder {
149
* A single retry will be performed.
150
*/
151
static singleRetry (options?: SingleRetryStrategyOptions): RetryStrategy {
152
- return RetryStrategyBuilder.retryStrategy('SINGLE', {
+ const {
153
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
154
+ maxRetries,
155
156
+ maxDurationSeconds,
157
+ ...strategy
158
+ } = RetryStrategyBuilder.retryStrategy('SINGLE', {
159
baseBackoffSeconds: options?.baseBackoffSeconds,
160
sameRegion: options?.sameRegion,
161
})
162
+
163
+ return strategy
164
}
165
166
/**
0 commit comments