Improved: configurable max_attempts for healthcheck

This commit is contained in:
Arturo Ojeda
2023-04-09 12:07:27 -06:00
parent cb3c5a53f4
commit 3969f56fa6
3 changed files with 4 additions and 5 deletions

View File

@@ -156,7 +156,7 @@ class Mrsk::Configuration
end
def healthcheck
{ "path" => "/up", "port" => 3000 }.merge(raw_config.healthcheck || {})
{ "path" => "/up", "port" => 3000, "max_attempts" => 7 }.merge(raw_config.healthcheck || {})
end
def readiness_delay