We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3adfb57 commit 833d495Copy full SHA for 833d495
source/packages/@aws-accelerator/accelerator/utils/app-utils.ts
@@ -1007,7 +1007,13 @@ export async function writeImportResources(props: {
1007
s3Promises.push(...nestedStackPromises);
1008
}
1009
1010
+ // Batch S3 writes to max socket size
1011
+ if (s3Promises.length > 49) {
1012
+ await Promise.all(s3Promises);
1013
+ s3Promises.length = 0;
1014
+ }
1015
1016
1017
1018
1019
async function handleMapping(mapping: ASEAMapping) {
0 commit comments