diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-05-20 14:48:50 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-05-20 14:48:50 +0200 |
commit | bee9ee4608b96b82521ee7138121a1bc616cbf5d (patch) | |
tree | 30d46cb269a5ebfc366d2acafa3b2b6ed6b1e4a9 /jdisc_http_service/src/main/resources/configdefinitions | |
parent | 034146bc6de7babdeecae443480f11cba4c3461b (diff) |
Make proxy client timeout configurable
Reduce default timeout to 1 second. Don't spam log with full stack trace.
Don't close connection pool on timeout or other failures (when using sub-second timeout).
Diffstat (limited to 'jdisc_http_service/src/main/resources/configdefinitions')
-rw-r--r-- | jdisc_http_service/src/main/resources/configdefinitions/jdisc.http.connector.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jdisc_http_service/src/main/resources/configdefinitions/jdisc.http.connector.def b/jdisc_http_service/src/main/resources/configdefinitions/jdisc.http.connector.def index fa7ed6657d9..4c86c8b9bb6 100644 --- a/jdisc_http_service/src/main/resources/configdefinitions/jdisc.http.connector.def +++ b/jdisc_http_service/src/main/resources/configdefinitions/jdisc.http.connector.def @@ -101,6 +101,9 @@ healthCheckProxy.enable bool default=false # Which port to proxy healthCheckProxy.port int default=8080 +# Low-level timeout for proxy client (socket connect, socket read, connection pool). Aggregate timeout will be longer. +healthCheckProxy.clientTimeout double default=1.0 + # Enable PROXY protocol V1/V2 support (only for https connectors). proxyProtocol.enabled bool default=false |