From 9541ee4cf66a27ef46ccbc0f135b8b6b03119fdd Mon Sep 17 00:00:00 2001 From: Timo Reimann Date: Mon, 6 Mar 2017 13:40:46 +0100 Subject: [PATCH] Docs: Update default value for DefaultMaxIdleConnsPerHost. --- docs/toml.md | 8 +++++--- traefik.sample.toml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/toml.md b/docs/toml.md index fabbebc50..9980a4b1f 100644 --- a/docs/toml.md +++ b/docs/toml.md @@ -62,11 +62,13 @@ # # ProvidersThrottleDuration = "5" -# If non-zero, controls the maximum idle (keep-alive) to keep per-host. If zero, DefaultMaxIdleConnsPerHost is used. -# If you encounter 'too many open files' errors, you can either change this value, or change `ulimit` value. +# Controls the maximum idle (keep-alive) connections to keep per-host. If zero, DefaultMaxIdleConnsPerHost +# from the Go standard library net/http module is used. +# If you encounter 'too many open files' errors, you can either increase this +# value or change the `ulimit`. # # Optional -# Default: http.DefaultMaxIdleConnsPerHost +# Default: 200 # # MaxIdleConnsPerHost = 200 diff --git a/traefik.sample.toml b/traefik.sample.toml index c2e182419..2c83caacb 100644 --- a/traefik.sample.toml +++ b/traefik.sample.toml @@ -53,11 +53,13 @@ # # ProvidersThrottleDuration = "5" -# If non-zero, controls the maximum idle (keep-alive) to keep per-host. If zero, DefaultMaxIdleConnsPerHost is used. -# If you encounter 'too many open files' errors, you can either change this value, or change `ulimit` value. +# Controls the maximum idle (keep-alive) connections to keep per-host. If zero, DefaultMaxIdleConnsPerHost +# from the Go standard library net/http module is used. +# If you encounter 'too many open files' errors, you can either increase this +# value or change the `ulimit`. # # Optional -# Default: http.DefaultMaxIdleConnsPerHost +# Default: 200 # # MaxIdleConnsPerHost = 200