Skip to content

Commit 0570f64

Browse files
authored
infra: Enable Admin API throttling in production (#6479)
1 parent 45f22aa commit 0570f64

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

infrastructure/aws/production/ecs-task-definition-web.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,14 @@
125125
"name": "INFLUXDB_URL",
126126
"value": "https://eu-central-1-1.aws.cloud2.influxdata.com"
127127
},
128+
{
129+
"name": "DEFAULT_THROTTLE_CLASSES",
130+
"value": "core.throttling.UserRateThrottle"
131+
},
132+
{
133+
"name": "USER_THROTTLE_RATE",
134+
"value": "10/sec"
135+
},
128136
{
129137
"name": "OAUTH_CLIENT_ID",
130138
"value": "232959427810-br6ltnrgouktp0ngsbs04o14ueb9rch0.apps.googleusercontent.com"
@@ -307,4 +315,4 @@
307315
],
308316
"cpu": "1024",
309317
"memory": "2048"
310-
}
318+
}

0 commit comments

Comments
 (0)