Skip to content

Commit c4dc8d0

Browse files
Wenbing LiRJ Lohan
authored andcommitted
Use standard retry policy (#194)
1 parent 8ce0f65 commit c4dc8d0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/com/amazonaws/cloudformation/injection/CloudFormationProvider.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ public void setCallbackEndpoint(final URI callbackEndpoint) {
3434

3535
public CloudFormationClient get() {
3636
return CloudFormationClient.builder().credentialsProvider(this.getCredentialsProvider())
37-
.endpointOverride(this.callbackEndpoint).overrideConfiguration(ClientOverrideConfiguration.builder()
38-
// Default Retry Condition of Retry Policy retries on Throttling and ClockSkew
39-
// Exceptions
40-
.retryPolicy(RetryPolicy.builder().numRetries(16).build()).build())
37+
.endpointOverride(this.callbackEndpoint)
4138
.build();
4239
}
4340
}

0 commit comments

Comments
 (0)