mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-23 22:19:13 +00:00
Drop connection timeout below that of the health check
This commit is contained in:
@@ -52,10 +52,11 @@ Define ARCHIVE_FAILOVER_IP 172.31.47.152
|
||||
|
||||
ProxyHCExpr ok2 {%{REQUEST_STATUS} =~ /^[2]/}
|
||||
<Proxy balancer://archive>
|
||||
BalancerMember http://${ARCHIVE_IP}:8888 hcmethod=GET hcexpr=ok2 hcuri=/gwt/status hcfails=2 hcpasses=3 timeout=86400 connectiontimeout=60 keepalive=on
|
||||
BalancerMember http://${ARCHIVE_IP}:8888 hcmethod=GET hcexpr=ok2 hcuri=/gwt/status hcfails=2 hcpasses=3 timeout=86400 connectiontimeout=25 keepalive=on
|
||||
BalancerMember http://${ARCHIVE_FAILOVER_IP}:8888 status=+H
|
||||
ProxySet lbmethod=bytraffic
|
||||
</Proxy>
|
||||
|
||||
<Macro ArchiveRewrite>
|
||||
ProxyPass "/" "balancer://archive/" nocanon
|
||||
ProxyPassReverse "/" "balancer://archive/"
|
||||
|
||||
Reference in New Issue
Block a user