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 5ef59ca commit 930168fCopy full SHA for 930168f
packages/core/src/codewhisperer/client/codewhisperer.ts
@@ -318,7 +318,8 @@ export class DefaultCodeWhispererClient {
318
public async codeModernizerGetCodeTransformationPlan(
319
request: CodeWhispererUserClient.GetTransformationPlanRequest
320
): Promise<PromiseResult<CodeWhispererUserClient.GetTransformationPlanResponse, AWSError>> {
321
- return (await this.createUserSdkClient()).getTransformationPlan(request).promise()
+ // instead of the default of 3 retries, use 8 retries for this API which is polled every 5 seconds
322
+ return (await this.createUserSdkClient(8)).getTransformationPlan(request).promise()
323
}
324
325
public async startCodeFixJob(
0 commit comments