all repos — nixfiles @ 729b760b2ce6e2d5034440d064bb81340a78a40b

System and user configuration, managed by nix and home-manager

searchix: add passive backend health checks

Alin
commit

729b760b2ce6e2d5034440d064bb81340a78a40b

parent

bc61c58f2fb0b192dd6e2f752371213fb06cd2b4

1 file changed, 7 insertions(+), 0 deletions(-)

changed files
M system/roles/searchix.nix → system/roles/searchix.nix
@@ -33,11 +33,18 @@ handle {
reverse_proxy { to localhost:${port} r5.fin-marlin.ts.net:${port} lb_policy first + + # active health checks (service running) health_uri /health health_status 2xx health_interval 10s health_timeout 2s health_fails 2 + + # passive health checks + max_fails 5 + fail_duration 30s + unhealthy_status 5xx } } encode zstd gzip {