Skip to content

Commit

Permalink
Reduce health check interval to improve bootstrap time (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganeshrockz authored Feb 19, 2024
1 parent 7785762 commit 0abb994
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/gateway-task/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ resource "aws_ecs_task_definition" "this" {
]
healthCheck = {
command = ["/consul/consul-ecs", "net-dial", format("127.0.0.1:%d", var.envoy_readiness_port)]
interval = 30
retries = 3
interval = 5
retries = 10
timeout = 5
}
cpu = 0
Expand Down
4 changes: 2 additions & 2 deletions modules/mesh-task/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ resource "aws_ecs_task_definition" "this" {
]
healthCheck = {
command = ["/consul/consul-ecs", "net-dial", format("127.0.0.1:%d", var.envoy_readiness_port)]
interval = 30
retries = 3
interval = 5
retries = 10
timeout = 5
}
cpu = 0
Expand Down

0 comments on commit 0abb994

Please sign in to comment.