From ec7ba159553059cb852b0fc55147c82732a74769 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 35af118fe..e3595d0b3 100644 --- a/docs/toml.md +++ b/docs/toml.md @@ -77,11 +77,13 @@ # # IdleTimeout = "360s" -# 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 8b125a7f6..b3b0f7e96 100644 --- a/traefik.sample.toml +++ b/traefik.sample.toml @@ -58,11 +58,13 @@ # # ProvidersThrottleDuration = "5s" -# 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