Skip to content

Commit 5f02a9a

Browse files
authored
Decreasing max concurrency limit to 10 (#1062)
1 parent 1b6f0be commit 5f02a9a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/core/cdk/src/tasks/store-outputs-task.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class StoreOutputsTask extends sfn.StateMachineFragment {
4747
const storeAccountOutputs = new sfn.Map(this, `Store Account Outputs`, {
4848
itemsPath: `$.accounts`,
4949
resultPath: 'DISCARD',
50-
maxConcurrency: 50,
50+
maxConcurrency: 10,
5151
parameters: {
5252
'accountId.$': '$$.Map.Item.Value',
5353
'regions.$': '$.regions',
@@ -120,7 +120,7 @@ export class StoreOutputsTask extends sfn.StateMachineFragment {
120120
const storeAccountRegionOutputs = new sfn.Map(this, `Store Account Region Outputs`, {
121121
itemsPath: `$.regions`,
122122
resultPath: 'DISCARD',
123-
maxConcurrency: 20,
123+
maxConcurrency: 10,
124124
parameters: {
125125
'account.$': '$.account',
126126
'region.$': '$$.Map.Item.Value',

src/core/cdk/src/tasks/store-outputs-to-ssm-task.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class StoreOutputsToSSMTask extends sfn.StateMachineFragment {
5959
const storeAccountOutputs = new sfn.Map(this, `Store Account Outputs To SSM`, {
6060
itemsPath: `$.accounts`,
6161
resultPath: 'DISCARD',
62-
maxConcurrency: 50,
62+
maxConcurrency: 10,
6363
parameters: {
6464
'accountId.$': '$$.Map.Item.Value',
6565
'regions.$': '$.regions',
@@ -148,7 +148,7 @@ export class StoreOutputsToSSMTask extends sfn.StateMachineFragment {
148148
const storeAccountRegionOutputs = new sfn.Map(this, `Store Account Region Outputs To SSM`, {
149149
itemsPath: `$.regions`,
150150
resultPath: 'DISCARD',
151-
maxConcurrency: 20,
151+
maxConcurrency: 10,
152152
parameters: {
153153
'account.$': '$.account',
154154
'region.$': '$$.Map.Item.Value',

0 commit comments

Comments
 (0)