|
62 | 62 | {proxy_opts, #{ |
63 | 63 | transport_opts => #{} |
64 | 64 | }}, |
65 | | - {health_check, #{ |
66 | | - disk => {erl_health, disk, ["/", 99]}, |
| 65 | + %{health_check, #{ |
| 66 | + % disk => {erl_health, disk, ["/", 99]}, |
| 67 | + % memory => {erl_health, cg_memory, [70]}, |
| 68 | + % service => {erl_health, service, [<<"{{ service_name }}">>]}, |
| 69 | + % dmt_client => {dmt_client, health_check, [<<"hellgate">>]} |
| 70 | + %}}, |
| 71 | + {health_check_liveness, #{ |
67 | 72 | memory => {erl_health, cg_memory, [70]}, |
68 | | - service => {erl_health, service, [<<"{{ service_name }}">>]}, |
69 | | - dmt_client => {dmt_client, health_check, [<<"hellgate">>]} |
| 73 | + service => {erl_health, service, [<<"{{ service_name }}">>]} |
| 74 | + }}, |
| 75 | + {health_check_readiness, #{ |
| 76 | + dmt_client => {dmt_client, health_check, [<<"hellgate">>]}, |
| 77 | + progressor => |
| 78 | + {progressor, health_check, [ |
| 79 | + %% list of progressors namespaces for tests |
| 80 | + [invoice_template] |
| 81 | + ]} |
70 | 82 | }}, |
71 | 83 | {payment_retry_policy, #{ |
72 | 84 | processed => {exponential, {max_total_timeout, 30}, 2, 1}, |
|
0 commit comments