Skip to content

Commit 406b7fe

Browse files
committed
Use least_outstanding_requests algorithm in ALB
1 parent 8015f43 commit 406b7fe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

templates/ecs-service.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ Resources:
289289
Port: 80
290290
Protocol: HTTP
291291
TargetType: !If [ UseEC2, instance, ip ]
292+
TargetGroupAttributes:
293+
- Key: load_balancing.algorithm.type
294+
Value: least_outstanding_requests
292295
HealthCheckIntervalSeconds: 5
293296
HealthCheckPath: !Sub '${PathPrefix}/health'
294297
HealthCheckProtocol: HTTP

0 commit comments

Comments
 (0)