+fix health_check demo config (#537)

This commit is contained in:
dinama 2021-02-01 19:07:24 +03:00 committed by GitHub
parent f6fef9983c
commit 8847162ef8
2 changed files with 7 additions and 7 deletions

2
Jenkinsfile vendored
View File

@ -18,5 +18,5 @@ build('hellgate', 'docker-host', finalHook) {
pipeErlangService = load("${env.JENKINS_LIB}/pipeErlangService.groovy")
}
pipeErlangService.runPipe(true, true, 'test')
pipeErlangService.runPipe(true, false, 'test')
}

View File

@ -61,12 +61,12 @@
transport_opts => #{
}
}},
{health_checkers, [
{erl_health, disk , ["/", 99] },
{erl_health, cg_memory, [99] },
{erl_health, service , [<<"hellgate">>]},
{dmt_client, health_check, [] }
]},
{health_check, #{
disk => {erl_health, disk , ["/", 99]},
memory => {erl_health, cg_memory, [70]},
service => {erl_health, service , [<<"{{ service_name }}">>]},
dmt_client => {dmt_client, health_check, [<<"hellgate">>]}
}},
{payment_retry_policy, #{
processed => {exponential, {max_total_timeout, 30}, 2, 1},
captured => no_retry,