Skip to content

Commit

Permalink
Stop using TCP check in favor of HTTP check
Browse files Browse the repository at this point in the history
  • Loading branch information
jonakoudijs committed Jul 7, 2023
1 parent bb73d9f commit dd951db
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ processes = []
auto_rollback = true

[[services]]
http_checks = []
internal_port = 8000
processes = ["app"]
protocol = "tcp"
Expand All @@ -33,8 +32,11 @@ processes = []
[services.ports.http_options.response.headers]
Access-Control-Allow-Origin = "*"

[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
[[services.http_checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
path = "/v1/info/740"
restart_limit = 3
protocol = "http"
timeout = "5s"

0 comments on commit dd951db

Please sign in to comment.