-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
SDK V2 to V3 migration using codemod is adding extra time which is causing performance issues.
await s3.waitFor('objectExists', param).promise();
transformed by codemod
await waitUntilObjectExists({
client: s3,
maxWaitTime: 200
}, param)
The codemod adds maxWaitTime: 200 which is changing the code behavior and causing performance issues
Steps to reproduce
Try to reproduce using the provided description for command.
Observed behavior
The command waits for 200 seconds which is adding significant delay.
Expected behavior
The code would execute instantly before.
Environment
aws-sdk-js-codemod: 0.26.3
- jscodeshift: 0.15.0
- recast: 0.23.4
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request