Skip to content

Commit dd951db

Browse files
committed
Stop using TCP check in favor of HTTP check
1 parent bb73d9f commit dd951db

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

fly.toml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ processes = []
1010
auto_rollback = true
1111

1212
[[services]]
13-
http_checks = []
1413
internal_port = 8000
1514
processes = ["app"]
1615
protocol = "tcp"
@@ -33,8 +32,11 @@ processes = []
3332
[services.ports.http_options.response.headers]
3433
Access-Control-Allow-Origin = "*"
3534

36-
[[services.tcp_checks]]
37-
grace_period = "1s"
38-
interval = "15s"
39-
restart_limit = 0
40-
timeout = "2s"
35+
[[services.http_checks]]
36+
grace_period = "10s"
37+
interval = "30s"
38+
method = "GET"
39+
path = "/v1/info/740"
40+
restart_limit = 3
41+
protocol = "http"
42+
timeout = "5s"

0 commit comments

Comments
 (0)