Skip to content

Commit 42e6c73

Browse files
authored
Add additional retries for config recorders (#443)
1 parent 94f4c59 commit 42e6c73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export function throttlingBackOff<T>(
1717

1818
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1919
export const isThrottlingError = (e: any) =>
20+
e.code === 'InsufficientDeliveryPolicyException' || // Retry for ConfigService
21+
e.code === 'NoAvailableDeliveryChannelException' || // Retry for ConfigService
2022
e.code === 'TooManyRequestsException' ||
2123
e.code === 'Throttling' ||
2224
e.code === 'ThrottlingException' ||

0 commit comments

Comments
 (0)