Skip to content

Commit 3eda391

Browse files
authored
delayFirstAttempt to false (#1077)
1 parent 573b3c5 commit 3eda391

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

reference-artifacts/Add-ons/opensiem/lambdas/common/src/backoff.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function throttlingBackOff<T>(
3737

3838
return backOff(request, {
3939
startingDelay,
40-
delayFirstAttempt: true,
40+
delayFirstAttempt: false,
4141
jitter: 'full',
4242
retry: isThrottlingError,
4343
...options,

src/lib/common/src/aws/backoff.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function throttlingBackOff<T>(
3737

3838
return backOff(request, {
3939
startingDelay,
40-
delayFirstAttempt: true,
40+
delayFirstAttempt: false,
4141
jitter: 'full',
4242
retry: isThrottlingError,
4343
...options,

src/lib/custom-resources/cdk-cfn-utils/cdk/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function throttlingBackOff<T>(
3939

4040
return backOff(request, {
4141
startingDelay,
42-
delayFirstAttempt: true,
42+
delayFirstAttempt: false,
4343
jitter: 'full',
4444
retry: isThrottlingError,
4545
...options,

0 commit comments

Comments
 (0)