Added health checks
This commit is contained in:
9
fly.toml
9
fly.toml
@@ -12,5 +12,12 @@ primary_region = "sjc"
|
|||||||
auto_stop_machines = true
|
auto_stop_machines = true
|
||||||
min_machines_running = 0
|
min_machines_running = 0
|
||||||
max_machines_running = 1
|
max_machines_running = 1
|
||||||
concurrency = { soft_limit = 1, hard_limit = 2 }
|
concurrency = { soft_limit = 1, hard_limit = 1 }
|
||||||
grace_period = "30s"
|
grace_period = "30s"
|
||||||
|
|
||||||
|
[[http_service.checks]]
|
||||||
|
grace_period = "10s"
|
||||||
|
interval = "15s"
|
||||||
|
method = "GET"
|
||||||
|
path = "/health"
|
||||||
|
timeout = "2s"
|
||||||
|
|||||||
Reference in New Issue
Block a user