Skip to content

Commit 3e99908

Browse files
authored
fix: fix health check period
* fix: fix health check period
1 parent ebed1e0 commit 3e99908

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/emd/cfn/ecs/template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,10 @@ Resources:
262262
sharedMemorySize: 1024
263263
healthCheck:
264264
command: ["CMD-SHELL","curl -f http://localhost:8080/health || exit 1"]
265-
interval: 60
265+
interval: 120
266266
retries: 10
267267
timeout: 60
268-
startPeriod: 30
268+
startPeriod: 120
269269
LogConfiguration:
270270
LogDriver: awslogs
271271
Options:
@@ -318,7 +318,7 @@ Resources:
318318
ServiceTargetGroup:
319319
Type: 'AWS::ElasticLoadBalancingV2::TargetGroup'
320320
Properties:
321-
HealthCheckIntervalSeconds: 10
321+
HealthCheckIntervalSeconds: 120
322322
HealthCheckPath: /ping
323323
HealthCheckProtocol: HTTP
324324
HealthCheckTimeoutSeconds: 5

0 commit comments

Comments
 (0)